-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
39 lines (37 loc) · 966 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
[tool.ruff]
line-length = 120
extend-exclude = [
".eggs",
".git",
".hg",
".mypy_cache",
".tox",
".venv",
"_build",
"buck-out",
"build",
"dist",
"versioneer.py",
"test/data/*.py",
]
[tool.ruff.lint]
select = ["A", "ARG", "ASYNC", "BLE", "C90", "E", "F", "I", "N", "UP032", "W"]
ignore = [
"ARG001", # Unused function argument
"ARG002", # Unused method argument
"ARG003", # Unused class method argument
"C901", # function is too complex
"E402", # module level import not at top of file
"E722", # do not use bare 'except'
"F821", # undefined name
"N802", # function name should be lowercase
"N803", # argument name should be lowercase
"N806", # variable in function should be lowercase
"N815", # mixed case class variable name
"N816", # mixed case global variable name
"N999", # invalid module name
]
[tool.mypy]
ignore_missing_imports = true
allow_untyped_globals = true
# ignore = ["test/data"]