diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fbbc985..5e0bf02 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - id: check-docstring-first - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.7 + rev: v0.12.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index cc6b956..9ee2ae7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ pydantic = ">=2.0.0,<3.0.0" pytest = ">=7.1.2,<9.0.0" pytest-cov = ">=3,<7" tox = ">=3.26,<5.0" -ruff = ">=0.5.0,<0.12.0" +ruff = ">=0.5.0,<0.13.0" pyright = ">=1.1.350,<1.2" [tool.ruff] @@ -25,7 +25,7 @@ output-format = "grouped" [tool.ruff.lint] select = ["F","E","W","C","I","N","UP","ANN","S","B","A","COM","C4","T20","PT","ARG","TD","RUF"] -ignore = ["A001","A002","A003","ANN401","C901","N8","B008","F405","F821", "UP035", "UP006"] +ignore = ["A001","A002","A003","ANN401","C901","N8","B008","F405","F821", "UP035", "UP006", "PT030"] [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"]