Skip to content

Commit c2e2785

Browse files
authored
Add SIM905 lint (#11055)
This lints for use of a list of strings instead of splitting a constant string on whitespace
1 parent 2759c2c commit c2e2785

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ignore =
1919
SIM117,
2020
SIM223,
2121
SIM401,
22-
SIM905,
2322
SIM907,
2423
exclude =
2524
.git,
@@ -34,3 +33,4 @@ application-import-names = sphinx
3433
import-order-style = smarkets
3534
per-file-ignores =
3635
tests/*: E501
36+
sphinx/util/jsdump.py: SIM905

0 commit comments

Comments
 (0)