45 lines
958 B
TOML
45 lines
958 B
TOML
[project]
|
|
name = "pydig"
|
|
version = "0.0.1"
|
|
requires-python = ">=3.10"
|
|
|
|
[tool.ruff]
|
|
cache-dir = "/tmp/ruff"
|
|
exclude = [
|
|
".git",
|
|
".ruff_cache",
|
|
".venv"
|
|
]
|
|
line-length = 120
|
|
indent-width = 4
|
|
target-version = "py310"
|
|
|
|
[tool.isort]
|
|
combine_as_imports = true
|
|
force_sort_within_sections = true
|
|
lexicographical = true
|
|
lines_after_imports = 2
|
|
multi_line_output = 4
|
|
no_sections = false
|
|
order_by_type = true
|
|
|
|
[tool.ruff.lint]
|
|
preview = true
|
|
select = ["A", "ARG", "B", "C", "E", "F", "FURB", "G", "I","ICN", "ISC", "PERF", "PIE", "PL", "PLE", "PTH",
|
|
"Q", "RET", "RSE", "RUF", "SLF", "SIM", "T20", "TCH", "UP", "W"]
|
|
ignore = ["E275", "FURB140", "I001", "PERF203", "PLR2004", "RET502", "RET503", "SIM105", "T201"]
|
|
|
|
[tool.ruff.lint.flake8-quotes]
|
|
inline-quotes = "single"
|
|
|
|
[tool.ruff.lint.pylint]
|
|
max-args=16
|
|
max-branches=24
|
|
max-locals=16
|
|
max-nested-blocks=8
|
|
max-public-methods=16
|
|
max-returns=8
|
|
max-statements=96
|
|
|
|
[tool.ruff.lint.mccabe]
|
|
max-complexity = 20
|