Files
fastapi-chameleon/ruff.toml
2024-11-07 00:38:13 -08:00

43 lines
781 B
TOML

# [ruff]
line-length = 120
format.quote-style = "single"
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
".env",
".venv",
"venv",
]
per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
# dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.13.
target-version = "py313"
#[tool.ruff.mccabe]
## Unlike Flake8, default to a complexity level of 10.
mccabe.max-complexity = 10