Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ruff lint ignore UP031 in src/*
  • Loading branch information
danirus committed Nov 29, 2024
commit ac67b765a0750a2425935e4eceb438ade7fd18be
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ lint.ignore = [
"E741", # Ambiguous variable name.
]


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

"src/*" = ["UP031", "UP032"] # f-strings instead of format calls.

[tool.ruff.lint.isort]
known-first-party = ["prompt_toolkit"]
Expand Down
Loading