Skip to content

Commit fa212b7

Browse files
committed
Simplify Import handling within tests for Ruff
1 parent c473ebb commit fa212b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ lint.ignore = [
134134

135135
[tool.ruff.lint.extend-per-file-ignores]
136136
"qrcode/tests/*.py" = [
137+
"F401", # Unused import
138+
"PLC0415", # Import not at top of a file
139+
"PT011", # pytest.raises is too broad
137140
"S101", # Use of 'assert' detected
138141
"S603", # `subprocess` call: check for execution of untrusted input
139-
"PT011", # pytest.raises is too broad
140142
]

0 commit comments

Comments
 (0)