-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
32 lines (31 loc) · 974 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
[tool.ruff]
line-length = 120
lint.select = ["E", "F", "W", "UP", "FA102", "I"]
lint.extend-select = [
"D419", # empty-docstring
"W291", # trailing-whitespace
"PLC0414", # useless-import-alias
"PLC2401", # non-ascii-name
"PLC3002", # unnecessary-direct-lambda-call
"E999", # syntax-error
"PLE0101", # return-in-init
"F706", # return-outside-function
"F704", # yield-outside-function
"PLE0116", # continue-in-finally
"PLE0117", # nonlocal-without-binding
"PLE0241", # duplicate-bases
"PLE0302", # unexpected-special-method-signature
"PLE0604", # invalid-all-object
"PLE0605", # invalid-all-format
"PLE0704", # misplaced-bare-raise
]
lint.ignore = [
"PLR0912", # too-many-branches
"PLR0913", # too-many-arguments
"PLR0914", # too-many-locals
"PLR0915", # too-many-statements
"PLW0603", # global-statement
"E501", # line-too-long
]
[tool.mypy]
ignore_missing_imports = true