mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +02:00
lint: Include test_utxo_snapshots in lint_shell
This commit is contained in:
@@ -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