Skip to content

Commit bd86552

Browse files
(Sonar) Fixed finding: "Boolean checks should not be inverted" (#841)
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
1 parent 0050b33 commit bd86552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codemods/test_include_exclude.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ def test_exclude_pixee_with_prefix(self):
146146
assert self.registry.match_codemods(None, ["pixee*"], sast_only=False) == [
147147
c
148148
for c in self.registry.codemods
149-
if not c.origin == "pixee" and c.id in self.all_ids
149+
if c.origin != "pixee" and c.id in self.all_ids
150150
]

0 commit comments

Comments
 (0)