Skip to content

Commit

Permalink
Merge pull request #4 from temp20230620/main-1
Browse files Browse the repository at this point in the history
Use `is` to compare values with None
  • Loading branch information
mschuett authored Aug 26, 2023
2 parents 84d0714 + 1f832bc commit b710c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaml_shellcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_scripts(data, path):
isinstance(data, str)
or isinstance(data, int)
or isinstance(data, float)
or isinstance(data, None)
or data is None
):
pass
return results
Expand Down Expand Up @@ -145,7 +145,7 @@ def get_runs(data, path):
isinstance(data, str)
or isinstance(data, int)
or isinstance(data, float)
or isinstance(data, None)
or data is None
):
pass
return results
Expand Down

0 comments on commit b710c77

Please sign in to comment.