-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
27 lines (23 loc) · 1.05 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
[tool.ruff]
line-length = 100
[tool.ruff.lint]
# TODO: add "PTH"
select = ["ARG", "B", "C4", "C90", "D", "DTZ", "E", "EM", "F", "FURB", "I001", "ISC", "N", "PERF", "PIE", "PL", "PLE", "PLR", "PLW", "PT", "Q", "RET", "RSE", "RUF", "SIM", "TRY", "UP", "W", "YTT"]
# TODO: remove "PLW0603", "SIM115", "SIM112", "N801", "PERF203", "C901"
ignore = ["B905", "D10", "D203", "D212", "D213", "D214", "D215", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D413", "ISC001", "PLR0912", "PLR0913", "PLR0915", "PLR2004", "PT001", "PT007", "PT012", "PT018", "PT023", "PTH123", "RET504", "TRY002", "TRY301", "UP006", "UP007", "UP035", "PLW0603", "SIM115", "SIM112", "N801", "PERF203", "C901"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.pytype]
python_version = "3.11"
disable = ["import-error"]
[tool.mypy]
python_version = "3.11"
show_error_context = true
verbosity = 0
ignore_missing_imports = true
follow_imports = "normal"
no_implicit_optional = true
allow_untyped_globals = false
allow_untyped_defs = false
warn_unused_configs = true
warn_return_any = true