Skip to content
Merged
Changes from all commits
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
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ select = [
"I",
# Note: B and N rules are NOT enabled by default in flake8
# They were only active through the plugins, which may not have been fully enabled
"T20", # print() and pprint() calls
]

# Use ONLY the same ignores as the original flake8 config + compatibility for this codebase
Expand All @@ -317,6 +318,10 @@ ignore = [
"E721", # Use isinstance instead of type() == - existing pattern in this codebase
]

[tool.ruff.lint.per-file-ignores]
"scripts/**" = ["T20"]
"tests/**" = ["T20"]

[tool.ruff.format]
# ruff format already excludes the same files as specified in extend-exclude
# Ensure Python 3.7 compatibility - avoid using Python 3.9+ syntax features
Expand Down
Loading