diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80acd02..aa31b0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: .*\.ipynb )$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.8" + rev: "v0.5.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index a245029..07e6e2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -140,7 +140,7 @@ files = ["src", "tests"] ignore-words-list = "fpr" [tool.ruff.lint] -ignore = ["N818", "UP006", "UP007", "UP035", "UP038", "B905", "PGH003"] +ignore = ["N818", "UP006", "UP007", "UP035", "UP038", "B905", "PGH003", "SIM103"] select = ["F", "E", "W", "C90", "N", "UP", "YTT", "S", "BLE", "B", "A", "C4", "T10", "EXE", "ISC", "INP", "PIE", "T20", "PT", "Q", "RSE", "RET", "SLF", "SIM", "TID", "TCH", "INT", "ARG", "PGH", "PL", "TRY", "NPY", "RUF"] [tool.ruff.lint.per-file-ignores]