Files
docker-py-revanced/pyproject.toml
T
Nikhil Badyal 1366c6c663 🌱 Updated linter
2023-09-12 22:43:46 +05:30

46 lines
808 B
TOML

[tool.ruff]
line-length = 120
select = [ "ALL"]
ignore = [
"D401",
"ANN401",
"S603",
"S607",
"ARG002", #unused-method-argument
"PTH122", #os-path-splitext
"TRY301", #raise-within-try
"PERF203", #try-except-in-loop
"UP004", #useless-object-inheritance
"PLR0911" #too many returns
]
target-version = "py311"
fix = true
show-fixes = true
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.docformatter]
recursive = true
wrap-summaries = 120
wrap-descriptions = 120
[tool.black]
line-length = 120
[pycodestyle]
max-line-length = 120
exclude = ["venv"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
[tool.isort]
line_length = 120
skip = ["venv"]
profile = "black"