Skip to content

Commit 046d563

Browse files
Ruff: Add and autofix PLR2044 (#11989)
1 parent 4ef3be4 commit 046d563

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dojo/tools/arachni/parser.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,9 @@ def get_item(self, item_node, report_date):
5757
url = item_node["response"]["url"]
5858

5959
request = item_node["request"]
60-
#
6160
req = ""
62-
#
6361
for key, value in request.items():
6462
req += str(key) + ": " + str(value) + "\n\n"
65-
#
6663
respz = item_node["response"]
6764

6865
resp = ""

ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ select = [
7575
"PGH",
7676
"PLC01", "PLC0205", "PLC0208", "PLC0414", "PLC18", "PLC24", "PLC28", "PLC3",
7777
"PLE",
78-
"PLR01", "PLR02", "PLR04", "PLR0915", "PLR1716", "PLR172", "PLR1733", "PLR1736", "PLR5", "PLR6104", "PLR6201",
78+
"PLR01", "PLR02", "PLR04", "PLR0915", "PLR1716", "PLR172", "PLR1733", "PLR1736", "PLR2044", "PLR5", "PLR6104", "PLR6201",
7979
"PLW01", "PLW02", "PLW04", "PLW0604", "PLW07", "PLW1", "PLW2", "PLW3",
8080
"TRY003", "TRY004", "TRY2", "TRY300", "TRY401",
8181
"FLY",

0 commit comments

Comments
 (0)