test: Refactor subtree exclusion in lint tests
This commit is contained in:
1 parent
c1223188e0
commit
80fa7da21c
5 files changed
+19
-11
No files matched your search
@@ -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