diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e050e0415..4b46ea4a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: hooks: # Run the linter. - id: ruff - args: [--fix --exclude lib/exabgp/vendoring] + args: [--fix] # Run the formatter. - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index 7d4176103..2a5151023 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,7 @@ requires = ["setuptools", "wheel"] [tool.ruff] line-length = 120 +exclude = ["dev", "lib/exabgp/vendoring"] [tool.ruff.format] quote-style = "single"