mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02: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
@ -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…
Reference in New Issue
Block a user