core: Add ruff rules for PIE (#26939)

All auto-fixes.
This commit is contained in:
Christophe Bornet
2024-09-27 18:08:35 +02:00
committed by GitHub
parent 836c2a4ae0
commit f4e738bb40
21 changed files with 16 additions and 52 deletions

View File

@@ -44,7 +44,7 @@ python = ">=3.12.4"
[tool.poetry.extras]
[tool.ruff.lint]
select = [ "B", "C4", "E", "F", "I", "N", "T201", "UP",]
select = [ "B", "C4", "E", "F", "I", "N", "PIE", "T201", "UP",]
ignore = [ "UP007",]
[tool.coverage.run]