forked from wutwasthat/pyqtgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (41 loc) · 911 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv*
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
profile = "black"
honor_noqa = true
color_output = true
py_version = 38
src_paths = ["pyqtgraph", "tests"]
skip_glob = ["**/*Template*.py", "**/colorama"]
skip_gitignore = true
known_third_party = ["QtCore", "QtGui", "QtWidgets"]
[tool.pycln]
all = true
exclude = '(Template|__init__.py)'
[tool.mypy]
packages = ["pyqtgraph"]
show_error_codes = true
strict = true
disable_error_code = ["attr-defined"]
ignore_errors = true
[[tool.mypy.overrides]]
module = "pyqtgraph.flowchart.*" # the list will increase
ignore_errors = true # will be changed to `false` when it's ready