Skip to content

Commit

Permalink
exclude examples and tests for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xldeltares committed Jul 6, 2023
1 parent 7f82e53 commit 3c346fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
exclude: ^(examples/|tests/)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ line-length = 88
select = ["E", "F", "I", "PT", "D"]
ignore-init-module-imports = true
ignore = ["D211", "D213", "E741", "D105", "E712"]
exclude = ["docs"]
exclude = ["examples", "tests", "docs"]

[tool.ruff.pydocstyle]
convention = "numpy"
Expand Down

0 comments on commit 3c346fa

Please sign in to comment.