Skip to content

Commit

Permalink
Merge pull request #323 from DimitriPapadopoulos/exclude
Browse files Browse the repository at this point in the history
pre-commit: exclude vendored files
  • Loading branch information
denisri authored Nov 14, 2023
2 parents b381b6b + 99e1aea commit a4234f3
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 144 deletions.
4 changes: 1 addition & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: '^capsul/sphinxext/resources/numpy_ext/'
exclude: '^(doc/source|capsul)/sphinxext/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand All @@ -25,7 +25,6 @@ repos:
rev: 23.11.0
hooks:
- id: black
exclude: '^doc/'
#- repo: https://github.com/astral-sh/ruff-pre-commit
# rev: v0.1.5
# hooks:
Expand All @@ -36,6 +35,5 @@ repos:
hooks:
- id: flake8
name: flake8
exclude: ^(doc/source|capsul)/sphinxext/
args:
- --ignore=F722,F821
Loading

0 comments on commit a4234f3

Please sign in to comment.