Skip to content

Commit

Permalink
Update precommit to ignore emu files
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Jan 30, 2023
1 parent 4e18c43 commit 65b3c2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
exclude: '^test\/emu'
repos:
- repo: https://github.com/codespell-project/codespell
rev: v1.15.0
rev: v2.2.2
hooks:
- id: codespell
args: [--ignore-words=.codespell-whitelist,--exclude-file=examples/cn0549/ml_fan_example.ipynb]
entry: codespell --ignore-words=.codespell-whitelist --exclude-file=examples/cn0549/ml_fan_example.ipynb --skip="*.pyc,*.xml"
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.20
hooks:
Expand All @@ -30,6 +31,7 @@ repos:
- id: black
language_version: python3
additional_dependencies: ['click==8.0.4']
args: [--exclude=./test/emu]
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.0
hooks:
Expand Down

0 comments on commit 65b3c2e

Please sign in to comment.