Skip to content

Commit

Permalink
Fixing linting in CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Jan 15, 2024
1 parent 51e18d9 commit f78cbec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/find_test_crumbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def main():
lines = proc.communicate()[0].decode("utf-8").split("\n")

# clean up the whitespace
lines = [l.strip() for l in lines if len(l.strip())]
lines = [ln.strip() for ln in lines if len(ln.strip())]

# ignore certain untracked object, like __pycache__ dirs
for ignore in IGNORED_OBJECTS:
lines = [l for l in lines if ignore not in l]
lines = [ln for ln in lines if ignore not in ln]

# fail hard if there are still untracked files
if len(lines):
Expand Down

0 comments on commit f78cbec

Please sign in to comment.