Skip to content

Commit bef0b82

Browse files
committedAug 9, 2024·
exclude error from python basics
1 parent ee8fbc3 commit bef0b82

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎.pre-commit-config.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ repos:
1414
# Run the linter.
1515
- id: ruff
1616
types_or: [python, pyi, jupyter]
17-
args: [--fix, --exit-non-zero-on-fix, --extend-ignore, E999]
17+
args:
18+
- --fix
19+
- --exit-non-zero-on-fix
20+
- --per-file-ignores
21+
- getting-started/python-basics.ipynb:E999
22+
1823
# Run the formatter.
1924
- id: ruff-format
2025
types_or: [python, pyi, jupyter]

0 commit comments

Comments
 (0)
Please sign in to comment.