Skip to content

Commit 2d373e2

Browse files
committed
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_
1 parent e88ab39 commit 2d373e2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

test/lint/lint-locale-dependence.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151

5252
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [
5353
"src/crypto/ctaes/",
54+
"src/ipc/libmultiprocess/",
5455
"src/leveldb/",
5556
"src/secp256k1/",
5657
"src/minisketch/",

test/lint/lint_ignore_dirs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
"src/crc32c/",
33
"src/secp256k1/",
44
"src/minisketch/",
5+
"src/ipc/libmultiprocess/",
56
]

test/lint/test_runner/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ fn lint_std_filesystem() -> LintResult {
361361
"std::filesystem",
362362
"--",
363363
"./src/",
364+
":(exclude)src/ipc/libmultiprocess/",
364365
":(exclude)src/util/fs.h",
365366
])
366367
.status()

0 commit comments

Comments
 (0)