mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-04 04:13:08 +02:00
test: Refactor subtree exclusion in lint tests
This commit is contained in:
@@ -12,19 +12,17 @@ import re
|
||||
import sys
|
||||
from subprocess import check_output
|
||||
|
||||
from lint_ignore_dirs import SHARED_EXCLUDED_SUBTREES
|
||||
|
||||
|
||||
HEADER_ID_PREFIX = 'BITCOIN_'
|
||||
HEADER_ID_SUFFIX = '_H'
|
||||
|
||||
EXCLUDE_FILES_WITH_PREFIX = ['contrib/devtools/bitcoin-tidy',
|
||||
'src/crypto/ctaes',
|
||||
'src/leveldb',
|
||||
'src/crc32c',
|
||||
'src/secp256k1',
|
||||
'src/minisketch',
|
||||
'src/tinyformat.h',
|
||||
'src/bench/nanobench.h',
|
||||
'src/test/fuzz/FuzzedDataProvider.h']
|
||||
'src/test/fuzz/FuzzedDataProvider.h'] + SHARED_EXCLUDED_SUBTREES
|
||||
|
||||
|
||||
def _get_header_file_lst() -> list[str]:
|
||||
|
Reference in New Issue
Block a user