Skip to content

Commit

Permalink
Checking the exact marker in ignore list
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Plevka <[email protected]>
  • Loading branch information
jyejare and rplevka authored Dec 19, 2023
1 parent d5e9019 commit 1c5633a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions betelgeuse/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ def _process_marker(marker):
marker_name = marker.split('mark.')[-1]

# ignoring the marker if in ignore list
if ignore_list and any(
ignore_word in marker_name for ignore_word in ignore_list):
if ignore_list and marker_name in ignore_list:
return
resolved_markers.append(marker_name)

Expand Down

0 comments on commit 1c5633a

Please sign in to comment.