Skip to content

Commit 43587c5

Browse files
committed
Update _auditwall.py
1 parent 9139c43 commit 43587c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

codeflash/verification/_auditwall.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ def accept(event: str, args: tuple) -> None:
1919
pass
2020

2121

22+
args_allow_list = {".coverage", "matplotlib.rc"}
23+
24+
2225
def reject(event: str, args: tuple) -> None:
26+
if any(arg in args_allow_list for arg in args):
27+
return
2328
msg = f'codeflash has detected: {event}{args}".'
2429
raise SideEffectDetectedError(msg)
2530

0 commit comments

Comments
 (0)