mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04: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
e88ab394c1
commit
2d373e2707
3 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,7 @@ KNOWN_VIOLATIONS = [
|
||||||
|
|
||||||
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [
|
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [
|
||||||
"src/crypto/ctaes/",
|
"src/crypto/ctaes/",
|
||||||
|
"src/ipc/libmultiprocess/",
|
||||||
"src/leveldb/",
|
"src/leveldb/",
|
||||||
"src/secp256k1/",
|
"src/secp256k1/",
|
||||||
"src/minisketch/",
|
"src/minisketch/",
|
||||||
|
|
|
@ -2,4 +2,5 @@ SHARED_EXCLUDED_SUBTREES = ["src/leveldb/",
|
||||||
"src/crc32c/",
|
"src/crc32c/",
|
||||||
"src/secp256k1/",
|
"src/secp256k1/",
|
||||||
"src/minisketch/",
|
"src/minisketch/",
|
||||||
|
"src/ipc/libmultiprocess/",
|
||||||
]
|
]
|
||||||
|
|
|
@ -361,6 +361,7 @@ fn lint_std_filesystem() -> LintResult {
|
||||||
"std::filesystem",
|
"std::filesystem",
|
||||||
"--",
|
"--",
|
||||||
"./src/",
|
"./src/",
|
||||||
|
":(exclude)src/ipc/libmultiprocess/",
|
||||||
":(exclude)src/util/fs.h",
|
":(exclude)src/util/fs.h",
|
||||||
])
|
])
|
||||||
.status()
|
.status()
|
||||||
|
|
Loading…
Add table
Reference in a new issue