Skip to content

Commit

Permalink
Merge pull request #2541 from cornellius-gp/pre-commit-config
Browse files Browse the repository at this point in the history
Corrected configuration of ``exclude`` statements in ``pre-commit`` configuration
  • Loading branch information
Balandat committed Jun 27, 2024
2 parents c6826d9 + 0eeb2ae commit 6fff12d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ repos:
hooks:
- id: flake8
args: [--config=setup.cfg]
exclude: ^(examples/*)|(docs/*)
exclude: ^(examples/.*)|(docs/.*)
- repo: https://github.com/omnilib/ufmt
rev: v2.0.0
hooks:
- id: ufmt
additional_dependencies:
- black == 22.3.0
- usort == 1.0.3
exclude: ^(build/*)|(docs/*)|(examples/*)
exclude: ^(build/.*)|(docs/.*)|(examples/.*)
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.6
hooks:
- id: require-ascii
exclude: ^(examples/.*\.ipynb)|(.github/ISSUE_TEMPLATE/*)
exclude: ^(examples/.*\.ipynb)|(.github/ISSUE_TEMPLATE/.*)
- id: script-must-have-extension
- id: forbid-binary
exclude: ^(examples/*)|(test/examples/old_variational_strategy_model.pth)
exclude: ^(examples/.*)|(test/examples/old_variational_strategy_model.pth)
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.13
hooks:
Expand Down

0 comments on commit 6fff12d

Please sign in to comment.