File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ select = [
8080ignore = [
8181 # raise from except hander with none or chaining; only python3
8282 " B904" ,
83+ # trailing commas are getting a bit excessive
84+ " COM812" ,
8385 # ### before comments is fine
8486 " E266" ,
8587 # ignore double vs. single quotes
@@ -95,6 +97,8 @@ ignore = [
9597 # "RET506",
9698 # use *list to expand; only python 3
9799 " RUF005" ,
100+ # not using typing, so not marking mutable class values
101+ " RUF012" ,
98102 # do not use contextlib.suppress rather than except: pass to suppress
99103 # exception. contextlib doesn't work in python2 and is slower
100104 " SIM105" ,
@@ -106,7 +110,9 @@ max-complexity = 50
106110[tool .ruff .lint .per-file-ignores ]
107111"roundup/anypy/*.py" = [" RET505" , " RET506" ]
108112"roundup/dehtml.py" = [" E501" ]
109- "roundup/rest.py" = [" E501" ]
113+ # ruff is reporting unused parameters. Standard calling sequence
114+ # for all methods means some won't be used. Suppress alert ARG002.
115+ "roundup/rest.py" = [" ARG002" , " E501" ]
110116"roundup/support.py" = [" E401" ]
111117"roundup/security.py" = [" E701" ]
112118"roundup/date.py" = [" E231" , " E701" ]
You can’t perform that action at this time.
0 commit comments