Skip to content

Commit

Permalink
Ruff: Add and fix S112, S311
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Oct 21, 2024
1 parent 8bf2ec5 commit 7ee0526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ select = [
"UP",
"YTT",
"ASYNC",
"S2", "S5", "S7",
"S2", "S5", "S7", "S112", "S311",
"FBT001", "FBT003",
"A003", "A004", "A006",
"COM",
Expand Down
2 changes: 1 addition & 1 deletion unittests/test_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create_finding_with_tags(self, tags):

del finding_details["id"]

finding_details["title"] = "tags test " + str(random.randint(1, 9999))
finding_details["title"] = "tags test " + str(random.randint(1, 9999)) # noqa: S311
finding_details["tags"] = tags
response = self.post_new_finding_api(finding_details)

Expand Down

0 comments on commit 7ee0526

Please sign in to comment.