Skip to content

Commit

Permalink
(Sonar) Fixed finding: "Boolean checks should not be inverted" (#841)
Browse files Browse the repository at this point in the history
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
  • Loading branch information
pixeebot[bot] authored Sep 19, 2024
1 parent affc539 commit f83891c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/codemods/test_include_exclude.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ def test_exclude_pixee_with_prefix(self):
assert self.registry.match_codemods(None, ["pixee*"], sast_only=False) == [
c
for c in self.registry.codemods
if not c.origin == "pixee" and c.id in self.all_ids
if c.origin != "pixee" and c.id in self.all_ids
]

0 comments on commit f83891c

Please sign in to comment.