lint: Include test_utxo_snapshots in lint_shell
This commit is contained in:
2 files changed
+11
-2
No files matched your search
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user