Skip to content

Commit

Permalink
Make if-statement more pythonic.
Browse files Browse the repository at this point in the history
  • Loading branch information
nusbaume committed Oct 9, 2023
1 parent b63c56e commit c213c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/pr_mod_file_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def _main_prog():
#Don't analyze 'manage_externals' files,
#as they are an external repo and thus
#not our responsibility:
if not 'manage_externals' in file_obj.filename:
if 'manage_externals' not in file_obj.filename:

#Check if it is a python file:
if _file_is_python(file_obj.filename):
Expand Down

0 comments on commit c213c4b

Please sign in to comment.