Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/pycodestyle_on_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def main():
python_files = [
candidate for candidate in candidates if candidate.endswith('.py')]

python_files = [
candidate for candidate in python_files if os.path.isfile(candidate)]

if not python_files:
print('No Python files to lint, exiting.')
else:
Expand Down