diff options
author | 2024-02-02 15:46:33 +0000 | |
---|---|---|
committer | 2024-02-02 15:46:33 +0000 | |
commit | c341b00b139d02f18bba82b9fe085c56a4296f1c (patch) | |
tree | 45ebf42bdf6cf94f8bd5da32ca41ed3c001b5f1e /pyproject.toml | |
parent | Bump deps to latest (diff) |
Bump ruff to 0.2.0
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pyproject.toml b/pyproject.toml index 6dd659f..ce8bfd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ asyncpg = "0.29.0" [tool.poetry.dev-dependencies] pre-commit = "3.6.0" -ruff = "0.1.7" +ruff = "0.2.0" [tool.poetry.scripts] start = "metricity.__main__:start" @@ -32,6 +32,11 @@ build-backend = "poetry.masonry.api" [tool.ruff] target-version = "py311" extend-exclude = [".cache"] +line-length = 120 +unsafe-fixes = true +preview = true + +[tool.ruff.lint] select = ["ALL"] ignore = [ "ANN002", "ANN003", "ANN101", @@ -42,15 +47,12 @@ ignore = [ "PLR0912", "PLR6301", "TRY003", ] -line-length = 120 -unsafe-fixes = true -preview = true -[tool.ruff.isort] +[tool.ruff.lint.isort] order-by-type = false case-sensitive = true combine-as-imports = true -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "metricity/models.py" = ["A003"] "alembic/*" = ["INP001"] |