Skip to content

Commit

Permalink
move ruff exclusion to pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Oct 25, 2024
1 parent 16734a1 commit c8b0d3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ requires = ["setuptools", "wheel"]

[tool.ruff]
line-length = 120
exclude = ["dev", "lib/exabgp/vendoring"]

[tool.ruff.format]
quote-style = "single"
Expand Down

0 comments on commit c8b0d3a

Please sign in to comment.