Skip to content

Commit ac67b76

Browse files
committed
ruff lint ignore UP031 in src/*
1 parent 679a733 commit ac67b76

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ lint.ignore = [
2020
"E741", # Ambiguous variable name.
2121
]
2222

23-
2423
[tool.ruff.lint.per-file-ignores]
2524
"examples/*" = ["UP031", "T201"] # Print allowed in examples.
2625
"src/prompt_toolkit/application/application.py" = ["T100", "T201", "F821"] # pdb and print allowed.
@@ -31,8 +30,7 @@ lint.ignore = [
3130
"src/prompt_toolkit/filters/__init__.py" = ["F403", "F405"] # Possibly undefined due to star import.
3231
"src/prompt_toolkit/filters/cli.py" = ["F403", "F405"] # Possibly undefined due to star import.
3332
"src/prompt_toolkit/shortcuts/progress_bar/formatters.py" = ["UP031"] # %-style formatting.
34-
"src/*" = ["UP032"] # f-strings instead of format calls.
35-
33+
"src/*" = ["UP031", "UP032"] # f-strings instead of format calls.
3634

3735
[tool.ruff.lint.isort]
3836
known-first-party = ["prompt_toolkit"]

0 commit comments

Comments
 (0)