From e9fbbf540c7669789b372e2ed13efc600fa25391 Mon Sep 17 00:00:00 2001 From: Matt Park Date: Mon, 4 Mar 2024 10:21:54 -0500 Subject: [PATCH] added global ignore flag for bytecode cleanup Resolves #1867 --- cleanup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cleanup.py b/cleanup.py index bb4caf98..6d30f622 100644 --- a/cleanup.py +++ b/cleanup.py @@ -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