Skip to content

Commit

Permalink
exclude error from python basics
Browse files Browse the repository at this point in the history
  • Loading branch information
samjrholt committed Aug 9, 2024
1 parent ee8fbc3 commit bef0b82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ repos:
# Run the linter.
- id: ruff
types_or: [python, pyi, jupyter]
args: [--fix, --exit-non-zero-on-fix, --extend-ignore, E999]
args:
- --fix
- --exit-non-zero-on-fix
- --per-file-ignores
- getting-started/python-basics.ipynb:E999

# Run the formatter.
- id: ruff-format
types_or: [python, pyi, jupyter]
Expand Down

0 comments on commit bef0b82

Please sign in to comment.