mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-15 11:36:00 -05:00
lint: Add exclusions for libmultiprocess subtree
Without this change linter produces errors about: - Use of std::filesystem the libmultiprocess example program. - Use of locale-dependent functions in example program, in the build time code generator, and in the runtime library for debug logging. - Include guards not beginning with BITCOIN_
This commit is contained in:
parent
0b4ca5d725
commit
ab04193728
3 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,7 @@ KNOWN_VIOLATIONS = [
|
|||
|
||||
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [
|
||||
"src/crypto/ctaes/",
|
||||
"src/ipc/libmultiprocess/",
|
||||
"src/leveldb/",
|
||||
"src/secp256k1/",
|
||||
"src/minisketch/",
|
||||
|
|
|
@ -2,4 +2,5 @@ SHARED_EXCLUDED_SUBTREES = ["src/leveldb/",
|
|||
"src/crc32c/",
|
||||
"src/secp256k1/",
|
||||
"src/minisketch/",
|
||||
"src/ipc/libmultiprocess/",
|
||||
]
|
||||
|
|
|
@ -287,6 +287,7 @@ fn lint_std_filesystem() -> LintResult {
|
|||
"std::filesystem",
|
||||
"--",
|
||||
"./src/",
|
||||
":(exclude)src/ipc/libmultiprocess/",
|
||||
":(exclude)src/util/fs.h",
|
||||
])
|
||||
.status()
|
||||
|
|
Loading…
Add table
Reference in a new issue