diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1e51d9d88..b9d333f152 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,6 @@ repos: rev: "v0.6.3" hooks: - id: ruff - exclude: tests/testdata args: ["--fix"] - repo: https://github.com/Pierre-Sassoulas/copyright_notice_precommit rev: 0.1.2 diff --git a/pyproject.toml b/pyproject.toml index b3243a36b3..db65a76d97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,6 +98,8 @@ ignore_missing_imports = true [tool.ruff] target-version = "py39" +exclude = ["tests/testdata/"] + # ruff is less lenient than pylint and does not make any exceptions # (for docstrings, strings and comments in particular). line-length = 110