22 lines
498 B
TOML
22 lines
498 B
TOML
[tool.ruff]
|
|
# Set the maximum line length to 88
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
# Enable pycodestyle, pyflakes, and import sorting
|
|
select = ["E", "F", "I"]
|
|
|
|
# Allow autofix for all enabled rules (when `--fix`) is provided
|
|
fixable = ["ALL"]
|
|
|
|
# Exclude a variety of commonly ignored directories
|
|
exclude = [
|
|
".git",
|
|
".ruff_cache",
|
|
"__pypackages__",
|
|
"dist",
|
|
"venv",
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic", "passlib", "jose"] |