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:
1 parent
e88ab394c1
commit
2d373e2707
3 files changed
+3
No files matched your search
@@ -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/",
|
||||
]
|
||||
@@ -361,6 +361,7 @@ fn lint_std_filesystem() -> LintResult {
|
||||
"std::filesystem",
|
||||
"--",
|
||||
"./src/",
|
||||
":(exclude)src/ipc/libmultiprocess/",
|
||||
":(exclude)src/util/fs.h",
|
||||
])
|
||||
.status()
|
||||
|
||||
Reference in new issue
Block a user