Skip to content

Commit 90f5b79

Browse files
committed
ruff can't handle the new !p specifier, so ignore that whole file for now
A #noqa pragma won't work.
1 parent 5355fe4 commit 90f5b79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ repos:
1414
name: Run Ruff (lint) on Lib/test/
1515
args: [--exit-non-zero-on-fix]
1616
files: ^Lib/test/
17+
# TODO: remove this exclude once !p f-string support is merged to main
18+
exclude: ^Lib/test/test_print\.py$
1719
- id: ruff-check
1820
name: Run Ruff (lint) on Tools/build/
1921
args: [--exit-non-zero-on-fix, --config=Tools/build/.ruff.toml]

0 commit comments

Comments
 (0)