Skip to content

Commit cc1f227

Browse files
committed
Exclude doc example from Ruff.
The example intentionally contains a `SyntaxError` which will also raise a `SyntaxError` from Ruff.
1 parent 7681772 commit cc1f227

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ repos:
2828
- id: ruff-check
2929
name: ruff-doc
3030
files: doc/data/messages
31+
exclude: doc/data/messages/u/unreachable-match-patterns/bad.py
3132
- repo: https://github.com/Pierre-Sassoulas/copyright_notice_precommit
3233
rev: 0.1.2
3334
hooks:

0 commit comments

Comments
 (0)