test: Refactor subtree exclusion in lint tests

This commit is contained in:
Brandon Odiwuor
2024-02-26 13:36:10 +03:00
parent c1223188e0
commit 80fa7da21c
5 changed files with 19 additions and 11 deletions

View File

@@ -14,13 +14,11 @@ import sys
from subprocess import check_output, CalledProcessError
from lint_ignore_dirs import SHARED_EXCLUDED_SUBTREES
EXCLUDED_DIRS = ["contrib/devtools/bitcoin-tidy/",
"src/leveldb/",
"src/crc32c/",
"src/secp256k1/",
"src/minisketch/",
]
] + SHARED_EXCLUDED_SUBTREES
EXPECTED_BOOST_INCLUDES = ["boost/date_time/posix_time/posix_time.hpp",
"boost/multi_index/detail/hash_index_iterator.hpp",