Skip to content

Commit 1087a92

Browse files
style: merge multiple comparisons per PLR1714
1 parent 464967e commit 1087a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codeflash/languages/java/instrumentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _is_test_annotation(stripped_line: str) -> bool:
8282
if len(stripped_line) == 5:
8383
return True
8484
next_char = stripped_line[5]
85-
return next_char == " " or next_char == "("
85+
return next_char in {" ", "("}
8686

8787

8888
def _is_inside_lambda(node: Any) -> bool:

0 commit comments

Comments
 (0)