[tool.ruff] line-length = 100 [tool.ruff.lint] # Enable pycodestyle (E), Pyflakes (F), isort (I), and pydocstyle (D) select = ["E", "F", "I", "D"] ignore = ["D203", "D212"] # Allow autofix for all enabled rules fixable = ["A", "B", "C", "D", "E", "F", "I"] unfixable = [] # Exclude a variety of commonly ignored directories exclude = [ ".git", ".ruff_cache", "__pycache__", "migrations", "venv", ".env", ".venv", ] # Allow unused variables when underscore-prefixed dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" [tool.ruff.lint.isort] known-first-party = ["app"] [tool.ruff.lint.pydocstyle] convention = "google"