lint: Include test_utxo_snapshots in lint_shell

This commit is contained in:
Fabian Jahr
2023-10-10 11:34:31 +02:00
parent 73dfa6da08
commit 348e79f7c6
2 changed files with 11 additions and 2 deletions

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)]