mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-17 17:02:43 +00:00
lint: more reuse of SHARED_EXCLUDED_SUBTREES
This commit is contained in:
parent
8864917d8b
commit
f55c891a65
@ -19,7 +19,6 @@ HEADER_ID_PREFIX = 'BITCOIN_'
|
||||
HEADER_ID_SUFFIX = '_H'
|
||||
|
||||
EXCLUDE_FILES_WITH_PREFIX = ['contrib/devtools/bitcoin-tidy',
|
||||
'src/crypto/ctaes',
|
||||
'src/tinyformat.h',
|
||||
'src/bench/nanobench.h',
|
||||
'src/test/fuzz/FuzzedDataProvider.h'] + SHARED_EXCLUDED_SUBTREES
|
||||
|
||||
@ -40,6 +40,8 @@ import sys
|
||||
|
||||
from subprocess import check_output, CalledProcessError
|
||||
|
||||
from lint_ignore_dirs import SHARED_EXCLUDED_SUBTREES
|
||||
|
||||
|
||||
KNOWN_VIOLATIONS = [
|
||||
"src/dbwrapper.cpp:.*vsnprintf",
|
||||
@ -50,13 +52,8 @@ KNOWN_VIOLATIONS = [
|
||||
]
|
||||
|
||||
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [
|
||||
"src/crypto/ctaes/",
|
||||
"src/ipc/libmultiprocess/",
|
||||
"src/leveldb/",
|
||||
"src/secp256k1/",
|
||||
"src/minisketch/",
|
||||
"src/tinyformat.h",
|
||||
]
|
||||
] + SHARED_EXCLUDED_SUBTREES
|
||||
|
||||
LOCALE_DEPENDENT_FUNCTIONS = [
|
||||
"alphasort", # LC_COLLATE (via strcoll)
|
||||
|
||||
@ -9,4 +9,5 @@ SHARED_EXCLUDED_SUBTREES = ["src/leveldb/",
|
||||
"src/secp256k1/",
|
||||
"src/minisketch/",
|
||||
"src/ipc/libmultiprocess/",
|
||||
"src/crypto/ctaes/",
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user