Changeset View
Changeset View
Standalone View
Standalone View
.arclint
{ | { | ||||
"linters": { | "linters": { | ||||
"generated": { | "generated": { | ||||
"type": "generated" | "type": "generated" | ||||
}, | }, | ||||
"clang-format": { | "clang-format": { | ||||
"type": "clang-format", | "type": "clang-format", | ||||
"version": ">=8.0", | "version": ">=8.0", | ||||
"bin": ["clang-format-8", "clang-format"], | "bin": ["clang-format-8", "clang-format"], | ||||
"include": "(^src/.*\\.(h|c|cpp|mm)$)", | "include": "(^src/.*\\.(h|c|cpp|mm)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)" | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"autopep8": { | "autopep8": { | ||||
"type": "autopep8", | "type": "autopep8", | ||||
"version": ">=1.3.4", | "version": ">=1.3.4", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
Show All 18 Lines | "linters": { | ||||
"--ignore=E501,E704,W503,W504" | "--ignore=E501,E704,W503,W504" | ||||
] | ] | ||||
}, | }, | ||||
"lint-format-strings": { | "lint-format-strings": { | ||||
"type": "lint-format-strings", | "type": "lint-format-strings", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)", | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)", | |||||
"(^src/test/fuzz/strprintf.cpp$)" | "(^src/test/fuzz/strprintf.cpp$)" | ||||
] | ] | ||||
}, | }, | ||||
"check-doc": { | "check-doc": { | ||||
"type": "check-doc", | "type": "check-doc", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)" | "include": "(^src/.*\\.(h|c|cpp)$)" | ||||
}, | }, | ||||
"lint-tests": { | "lint-tests": { | ||||
Show All 17 Lines | "linters": { | ||||
"(^arcanist/__phutil_library_.+\\.php$)" | "(^arcanist/__phutil_library_.+\\.php$)" | ||||
], | ], | ||||
"phpcs.standard": "arcanist/phpcs.xml" | "phpcs.standard": "arcanist/phpcs.xml" | ||||
}, | }, | ||||
"lint-locale-dependence": { | "lint-locale-dependence": { | ||||
"type": "lint-locale-dependence", | "type": "lint-locale-dependence", | ||||
"include": "(^src/.*\\.(h|cpp)$)", | "include": "(^src/.*\\.(h|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/))" | "(^src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/))", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-cheader": { | "lint-cheader": { | ||||
"type": "lint-cheader", | "type": "lint-cheader", | ||||
"include": "(^src/.*\\.(h|cpp)$)", | "include": "(^src/.*\\.(h|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)" | "(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"spelling": { | "spelling": { | ||||
"type": "spelling", | "type": "spelling", | ||||
"exclude": [ | "exclude": [ | ||||
"(^build-aux/m4/)", | "(^build-aux/m4/)", | ||||
"(^depends/)", | "(^depends/)", | ||||
"(^doc/release-notes/)", | "(^doc/release-notes/)", | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^src/(qt/locale|secp256k1|univalue|leveldb)/)", | "(^src/(qt/locale|secp256k1|univalue|leveldb)/)", | ||||
"(^test/lint/dictionary/)" | "(^test/lint/dictionary/)" | ||||
], | ], | ||||
"spelling.dictionaries": [ | "spelling.dictionaries": [ | ||||
"test/lint/dictionary/english.json" | "test/lint/dictionary/english.json" | ||||
] | ] | ||||
}, | }, | ||||
"lint-assert-with-side-effects": { | "lint-assert-with-side-effects": { | ||||
"type": "lint-assert-with-side-effects", | "type": "lint-assert-with-side-effects", | ||||
"include": "(^src/.*\\.(h|cpp)$)", | "include": "(^src/.*\\.(h|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)" | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-include-quotes": { | "lint-include-quotes": { | ||||
"type": "lint-include-quotes", | "type": "lint-include-quotes", | ||||
"include": "(^src/.*\\.(h|cpp)$)", | "include": "(^src/.*\\.(h|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)" | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-include-guard": { | "lint-include-guard": { | ||||
"type": "lint-include-guard", | "type": "lint-include-guard", | ||||
"include": "(^src/.*\\.h$)", | "include": "(^src/.*\\.h$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | "(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)", | |||||
"(^src/tinyformat.h$)" | "(^src/tinyformat.h$)" | ||||
] | ] | ||||
}, | }, | ||||
"lint-include-source": { | "lint-include-source": { | ||||
"type": "lint-include-source", | "type": "lint-include-source", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)" | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-stdint": { | "lint-stdint": { | ||||
"type": "lint-stdint", | "type": "lint-stdint", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)", | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)", | |||||
"(^src/compat/assumptions.h$)" | "(^src/compat/assumptions.h$)" | ||||
] | ] | ||||
}, | }, | ||||
"lint-source-filename": { | "lint-source-filename": { | ||||
"type": "lint-source-filename", | "type": "lint-source-filename", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(secp256k1|univalue|leveldb)/)" | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-boost-dependencies": { | "lint-boost-dependencies": { | ||||
"type": "lint-boost-dependencies", | "type": "lint-boost-dependencies", | ||||
"include": "(^src/.*\\.(h|cpp)$)" | "include": "(^src/.*\\.(h|cpp)$)" | ||||
}, | }, | ||||
"check-rpc-mappings": { | "check-rpc-mappings": { | ||||
"type": "check-rpc-mappings", | "type": "check-rpc-mappings", | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | "linters": { | ||||
"(^cmake/utils/log-and-print-on-failure.sh)" | "(^cmake/utils/log-and-print-on-failure.sh)" | ||||
] | ] | ||||
}, | }, | ||||
"lint-cpp-void-parameters": { | "lint-cpp-void-parameters": { | ||||
"type": "lint-cpp-void-parameters", | "type": "lint-cpp-void-parameters", | ||||
"include": "(^src/.*\\.(h|cpp)$)", | "include": "(^src/.*\\.(h|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | "(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)", | |||||
"(^src/compat/glibc_compat.cpp$)" | "(^src/compat/glibc_compat.cpp$)" | ||||
] | ] | ||||
}, | }, | ||||
"lint-logs": { | "lint-logs": { | ||||
"type": "lint-logs", | "type": "lint-logs", | ||||
"include": "(^src/.*\\.(h|cpp)$)" | "include": "(^src/.*\\.(h|cpp)$)" | ||||
}, | }, | ||||
"lint-qt": { | "lint-qt": { | ||||
"type": "lint-qt", | "type": "lint-qt", | ||||
"include": "(^src/qt/.*\\.(h|cpp)$)", | "include": "(^src/qt/.*\\.(h|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/qt/(locale|forms|res)/)" | "(^src/qt/(locale|forms|res)/)" | ||||
] | ] | ||||
}, | }, | ||||
"lint-doxygen": { | "lint-doxygen": { | ||||
"type": "lint-doxygen", | "type": "lint-doxygen", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)" | "(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-whitespace": { | "lint-whitespace": { | ||||
"type": "lint-whitespace", | "type": "lint-whitespace", | ||||
"include": "(\\.(ac|am|cmake|conf|in|include|json|m4|md|openrc|php|pl|sh|txt|yml)$)", | "include": "(\\.(ac|am|cmake|conf|in|include|json|m4|md|openrc|php|pl|sh|txt|yml)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^src/(secp256k1|univalue|leveldb)/)" | "(^src/(secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-cppcheck": { | "lint-cppcheck": { | ||||
"type": "lint-cppcheck", | "type": "lint-cppcheck", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)" | "(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | |||||
] | ] | ||||
}, | }, | ||||
"yamllint": { | "yamllint": { | ||||
"type": "yamllint", | "type": "yamllint", | ||||
"include": "(\\.(yml|yaml)$)", | "include": "(\\.(yml|yaml)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/buildbot/python_phabricator/)" | "(^contrib/buildbot/python_phabricator/)" | ||||
] | ] | ||||
Show All 32 Lines |