diff options
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml index 434163cc..32acf064 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ psycopg = {extras = ["binary"], version = "3.1.17"} [tool.poetry.group.dev.dependencies] python-dotenv = "1.0.1" taskipy = "1.12.2" -ruff = "0.1.15" +ruff = "0.2.0" [tool.poetry.group.lint.dependencies] pre-commit = "3.6.0" @@ -44,6 +44,9 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] target-version = "py311" extend-exclude = [".cache"] +line-length = 120 + +[tool.ruff.lint] ignore = [ "ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401", "B904", @@ -57,10 +60,9 @@ ignore = [ "S311", "SIM102", "SIM108", ] -line-length = 120 select = ["ANN", "B", "C4", "D", "DJ", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "pydis_site/apps/**/migrations/*.py" = ["ALL"] "manage.py" = ["T201"] "pydis_site/apps/api/tests/base.py" = ["S106"] |