-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (40 loc) · 1017 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 = 120
target-version = ["py310"]
[tool.isort]
line_length = 120
profile = "black"
py_version = 310
[tool.ruff]
line-length = 120
[tool.mypy]
ignore_missing_imports = true
# plugins = "numpy.typing.mypy_plugin"
python_version = "3.10"
show_error_codes = true
warn_unused_ignores = true
[tool.pylint.format]
max-line-length = 120 # For black
[tool.pylint.messages_control]
enable = [
"useless-suppression", # Show useless pylint statements.
]
disable = [
"too-few-public-methods", # For data classes.
"missing-module-docstring",
"no-member", # Ignore pylints cv2 problems.
"invalid-name", # Ignore good names for now.
# Ignore too-many-* for now.
"too-many-locals",
"too-many-arguments",
"too-many-instance-attributes",
"too-many-branches",
"too-many-statements",
"too-many-boolean-expressions",
"too-many-nested-blocks",
# "fixme",
]
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "basic"
reportMissingTypeStubs = false