Skip to content

Commit

Permalink
Ignore a notebook in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed Jul 31, 2024
1 parent 6f6d4e3 commit eea7982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ repos:
hooks:
- id: nbqa-check-ast
name: validate Python notebooks
exclude: notebooks/dispersion_solver.ipynb
- id: nbqa-ruff
name: ruff for notebooks (see https://docs.astral.sh/ruff/rules)
args: [--fix, '--select=E,F,UP', '--ignore=E402,E501,E741,F401,F403,F405,F821']

0 comments on commit eea7982

Please sign in to comment.