Skip to content

Commit 62633b5

Browse files
committed
ci: filter all subtrees from tidy output
We are currently dumping output for some. i.e: ```bash diff --git a/src/minisketch/src/fields/clmul_1byte.cpp b/src/minisketch/src/fields/clmul_1byte.cpp index 8826af9..7fd6f2a 100644 --- a/src/minisketch/src/fields/clmul_1byte.cpp +++ b/src/minisketch/src/fields/clmul_1byte.cpp @@ -4,21 +4,16 @@ * file LICENSE or http://www.opensource.org/licenses/mit-license.php.* **********************************************************************/ -/* This file was substantially auto-generated by doc/gen_params.sage. */ -#include "../fielddefines.h" - +class Sketch; #if defined(ENABLE_FIELD_BYTES_INT_1) ```
1 parent d4018f0 commit 62633b5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ci/test/06_script_b.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
155155
# accepted in src/.bear-tidy-config
156156
# Filter out:
157157
# * qt qrc and moc generated files
158-
# * secp256k1
159-
jq 'map(select(.file | test("src/qt/qrc_.*\\.cpp$|/moc_.*\\.cpp$|src/secp256k1/src/") | not))' ../compile_commands.json > tmp.json
158+
jq 'map(select(.file | test("src/qt/qrc_.*\\.cpp$|/moc_.*\\.cpp$") | not))' ../compile_commands.json > tmp.json
160159
mv tmp.json ../compile_commands.json
161160
cd "${BASE_BUILD_DIR}/bitcoin-$HOST/"
162161
python3 "${DIR_IWYU}/include-what-you-use/iwyu_tool.py" \

src/.bear-tidy-config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"include_only_existing_source": true,
55
"paths_to_include": [],
66
"paths_to_exclude": [
7-
"src/leveldb"
7+
"src/crc32c",
8+
"src/crypto/ctaes",
9+
"src/leveldb",
10+
"src/minisketch",
11+
"src/secp256k1"
812
]
913
},
1014
"format": {

0 commit comments

Comments
 (0)