-
Notifications
You must be signed in to change notification settings - Fork 49
/
pyproject.toml
66 lines (61 loc) · 1.63 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.pyright]
include = ["src"]
pythonVersion = "3.7"
reportOptionalCall = false
reportOptionalMemberAccess = false
[tool.ruff]
line-length = 79
target-version = "py37"
[tool.ruff.lint]
select = [
# "A", # flake8-builtins
# "ARG", # flake8-unused-arguments
# "B", # flake8-bugbear
# "C90", # mccabe complexity
# "COM", # flake8-commas
# "E", # pycodestyle errors
# "F", # pyflakes
# "FBT", # flake8-boolean-trap
# "FLY", # flynt
# "I", # isort
# "ISC", # flake8-implicit-str-concat
# "LOG", # flake8-logging
# "N", # pep8-naming
# "PERF", # Perflint
# "PGH", # pygrep-hooks
# "PIE", # flake8-pie
# "PL", # pylint
# "PTH", # flake8-use-pathlib
# "PYI", # flake8-pyi
# "Q", # flake8-quotes
# "RET", # flake8-return
# "RSE", # flake8-raise
# "RUF",
# "SIM", # flake8-simplify
# "SLF", # flake8-self
# "T10", # flake8-debugger
# "T20", # flake8-print
# "TCH", # flake8-type-checking
# "TD", # flake8-todos
# "TID", # flake8-tidy-imports
# "TRY", # tryceratops
# "UP", # pyupgrade
# "W", # pycodesytle warnings
# "ANN", # flake8-annotations
# "CPY", # flake8-copyright
# "D", # pydocstyle
# "FIX", # flake8-fixme
]
ignore = ["TD003", "FBT003", "ISC001", "COM812", "E501", "C901", "F403",
"F405", "PERF102", "PYI024", "RET504", "SIM105", "TD002", "TRY003"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pep8-naming]
extend-ignore-names = [
"setLevel",
"classFactory",
"initGui",
"sizeHint",
"createWidget",
"*Event",
]