Skip to content

Commit

Permalink
added global ignore flag for bytecode cleanup
Browse files Browse the repository at this point in the history
Resolves #1867
  • Loading branch information
MattPark authored and clinton-hall committed Mar 4, 2024
1 parent 27df8a4 commit e14bc6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def clean_bytecode():
result = git_clean(
remove_directories=True,
force=True,
ignore_rules=True,
exclude=[
'*.*', # exclude everything
'!*.py[co]', # except bytecode
Expand Down

0 comments on commit e14bc6c

Please sign in to comment.