dash/test/lint
Kittywhiskers Van Gogh 2fa480a878
partial bitcoin#25288: Reliably don't start itself (lint-all.py runs all tests twice)
excluded:
- f26a496dfd0a7ce3833a10075027d7d5b0345e32 (change in glob pattern)

We still have shell scripts that end in `.sh`, so we can't
restrict the glob to only cover files that end in `.py`.
2024-12-04 15:55:11 +00:00
..
all-lint.py partial bitcoin#25288: Reliably don't start itself (lint-all.py runs all tests twice) 2024-12-04 15:55:11 +00:00
check-doc.py Merge bitcoin/bitcoin#26717: test: Improve check-doc.py pattern 2024-06-13 10:06:12 -05:00
commit-script-check.sh partial bitcoin#23462: Enable SC2046 and SC2086 shellcheck rules 2024-11-27 04:55:46 +00:00
git-subtree-check.sh partial bitcoin#23462: Enable SC2046 and SC2086 shellcheck rules 2024-11-27 04:55:46 +00:00
lint-assertions.py Merge bitcoin/bitcoin#28304: doc: Remove confusing assert linter 2024-10-25 09:13:06 -05:00
lint-circular-dependencies.py merge bitcoin#24915: Convert lint-circular-dependencies.sh to Python 2024-12-04 15:55:11 +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 merge bitcoin#23114: Add minisketch subtree and integrate into build/test 2024-10-20 10:37:12 +00:00
lint-format-strings.py merge bitcoin#24802: convert format strings linter test to python 2024-11-27 04:59:33 +00:00
lint-git-commit-check.py merge bitcoin#24853: Convert lint-git-commit-check.sh to Python 2024-11-27 04:58:22 +00:00
lint-include-guards.py merge bitcoin#24902: Convert lint-include-guards.sh to Python 2024-12-04 15:55:10 +00:00
lint-includes.py merge bitcoin#24895: Convert lint-includes.sh to Python 2024-11-27 04:58:22 +00:00
lint-locale-dependence.py merge bitcoin#24932: Convert lint-locale-dependence.sh to Python 2024-11-27 04:59:33 +00:00
lint-logs.py merge bitcoin#24849: Convert lint-logs.sh to Python 2024-11-27 04:58:22 +00:00
lint-python-dead-code.py merge bitcoin#24778: Convert Python dead code linter test to Python 2024-11-27 04:55:46 +00:00
lint-python-mutable-default-parameters.py
lint-python-utf8-encoding.py merge bitcoin#24916: Convert lint-python-utf8-encoding.sh to Python 2024-12-04 15:55:11 +00:00
lint-python.py merge bitcoin#24794: Convert Python linter to Python 2024-12-04 15:55:10 +00:00
lint-shell-locale.py merge bitcoin#24929: convert shell locale linter test to Python 2024-12-04 15:55:11 +00:00
lint-shell.py merge bitcoin#24840: port lint-shell.sh to python 2024-12-04 15:55:11 +00:00
lint-spelling.py merge bitcoin#24766: convert spellchecking lint test to python 2024-11-27 04:55:47 +00:00
lint-submodule.py
lint-tests.py
lint-whitespace.py merge bitcoin#24844: Convert lint-whitespace.sh to Python 2024-11-27 04:58:22 +00:00
README.md partial bitcoin#25288: Reliably don't start itself (lint-all.py runs all tests twice) 2024-12-04 15:55:11 +00:00
run-lint-format-strings.py partial revert dash#4807: enable more multi-threading and caching in linters 2024-11-27 04:58:22 +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

all-lint.py

Calls other scripts with the lint- prefix.