added global ignore flag for bytecode cleanup

Resolves #1867
This commit is contained in:
Matt Park 2024-03-04 10:21:54 -05:00 committed by GitHub
commit 4b06e23bb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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