lint: Include test_utxo_snapshots in lint_shell

This commit is contained in:
Fabian Jahr committed 2023-10-13 14:06:06 +02:00
1 parent 73dfa6da08
commit 348e79f7c6
2 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ def main():
reg = re.compile(r'src/[leveldb,secp256k1,minisketch]')
def should_exclude(fname: str) -> bool:
return bool(reg.match(fname)) or 'test_utxo_snapshots.sh' in fname
return bool(reg.match(fname))
# remove everything that doesn't match this regex
files[:] = [file for file in files if not should_exclude(file)]