[tool.ruff] line-length = 88 target-version = "py38" [tool.ruff.lint] select = [ "E", # pycodestyle errors "F", # pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade "D", # pydocstyle "N", # pep8-naming ] ignore = [ "D100", # Missing docstring in public module "D104", # Missing docstring in public package "D106", # Missing docstring in public nested class "D203", # 1 blank line required before class docstring "D213", # Multi-line docstring summary should start at the second line "E501", # Line too long (covered by line-length) "D200", # One-line docstring should fit on one line "D212", # Multi-line docstring summary should start at the first line "D107", # Missing docstring in __init__ "D105", # Missing docstring in magic method "D102", # Missing docstring in public method "N805", # First argument of a method should be named `self` "B008", # Do not perform function call in argument defaults ] [tool.ruff.lint.per-file-ignores] "migrations/*" = ["D", "E", "F", "I", "N"] "__init__.py" = ["D", "F401"] [tool.ruff.lint.isort] known-first-party = ["app"] [tool.ruff.lint.pydocstyle] convention = "google"