Skip to content

Commit 0125739

Browse files
committed
style(ruff): add UP and TC fixes to the safe fixes list
1 parent 51b99b0 commit 0125739

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ select = [
229229
"TC006",
230230
]
231231
ignore = ["E501", "D1", "D415"]
232+
extend-safe-fixes = [
233+
"TC", # Move imports inside/outside TYPE_CHECKING blocks
234+
"UP", # Update syntaxes for current Python version recommendations
235+
]
232236

233237
[tool.ruff.lint.per-file-ignores]
234238
"tests/*" = ["ANN", "S101"]

0 commit comments

Comments
 (0)