dash/test/lint
2024-10-15 06:58:51 +00:00
..
check-doc.py
commit-script-check.sh
git-subtree-check.sh
lint-all.sh
lint-assertions.py
lint-circular-dependencies.sh merge bitcoin#21726: Improve Indices on pruned nodes via prune blockers 2024-10-15 06:58:51 +00:00
lint-cppcheck-dash.sh feat: have cppcheck linter respect CACHE_DIR env variable 2024-08-11 15:02:32 +07:00
lint-files.py
lint-format-strings.sh
lint-git-commit-check.sh
lint-include-guards.sh exclude x11 dir from linting 2024-10-05 12:19:42 -05:00
lint-includes.sh partial merge bitcoin/bitcoin#27783: Add public Boost headers explicitly 2024-10-07 15:14:10 -05:00
lint-locale-dependence.sh merge bitcoin#23538: Remove strtol in torcontrol 2024-10-08 15:59:17 +00:00
lint-logs.sh
lint-python-dead-code.sh
lint-python-mutable-default-parameters.py
lint-python-utf8-encoding.sh
lint-python.sh Merge #22381: guix: Test security-check sanity before performing them 2024-09-25 20:58:25 +07:00
lint-shell-locale.sh
lint-shell.sh
lint-spelling.sh
lint-submodule.py
lint-tests.py
lint-whitespace.sh
README.md
run-lint-format-strings.py stats: cleanup error logging, improve code sanity 2024-09-11 14:33:55 +00:00
spelling.ignore-words.txt

This folder contains lint scripts.

check-doc.py

Check for missing documentation of command line options.

commit-script-check.sh

Verification of scripted diffs. Scripted diffs are only assumed to run on the latest LTS release of Ubuntu. Running them on other operating systems might require installing GNU tools, such as GNU sed.

git-subtree-check.sh

Run this script from the root of the repository to verify that a subtree matches the contents of the commit it claims to have been updated to.

Usage: test/lint/git-subtree-check.sh [-r] DIR [COMMIT]
       test/lint/git-subtree-check.sh -?
  • DIR is the prefix within the repository to check.
  • COMMIT is the commit to check, if it is not provided, HEAD will be used.
  • -r checks that subtree commit is present in repository.

To do a full check with -r, make sure that you have fetched the upstream repository branch in which the subtree is maintained:

To do so, add the upstream repository as remote:

git remote add --fetch secp256k1 https://github.com/bitcoin-core/secp256k1.git

lint-all.sh

Calls other scripts with the lint- prefix.