lbrycrd/test/lint
Wladimir J. van der Laan 7c32b414b6
Merge #13230: Simplify include analysis by enforcing the developer guide's include syntax
16e3cd380a Clarify include recommendation (practicalswift)
6d10f43738 Enforce the use of bracket syntax includes ("#include <foo.h>") (practicalswift)
906bee8e5f Use bracket syntax includes ("#include <foo.h>") (practicalswift)

Pull request description:

  When analysing includes in the project it is often assumed that the preferred bracket include syntax (`#include <foo.h>`) mentioned in `developer-docs.md` is used consistently. @sipa:s excellent circular dependencies script [`circular-dependencies.py`](50c69b7801/contrib/devtools/circular-dependencies.py) (#13228) is an example of a script making this reasonable assumption.

  This PR enables automatic Travis checking of the include syntax making sure that the bracket syntax includes (`#include <foo.h>`) is used consistently.

Tree-SHA512: a414921aabe8e487ebed42f3f1cbd02fecd1add385065c1f2244cd602c31889e61fea5a801507ec501ef9bd309b05d3c999f915cec1c2b44f085bb0d2835c182
2018-06-11 20:24:58 +02:00
..
check-doc.py test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
check-rpc-mappings.py test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
commit-script-check.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
git-subtree-check.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-all.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-include-guards.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-includes.sh Merge #13230: Simplify include analysis by enforcing the developer guide's include syntax 2018-06-11 20:24:58 +02:00
lint-locale-dependence.sh build: Add linter for checking accidental locale dependence 2018-06-06 08:08:44 +02:00
lint-logs.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-python-shebang.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-python.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-shell.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-tests.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
lint-whitespace.sh test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00
README.md test: Move linters to test/lint, add readme 2018-05-24 12:02:15 -04:00

This folder contains lint scripts.

check-doc.py

Check for missing documentation of command line options.

commit-script-check.sh

Verification of scripted diffs.

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.

To use, make sure that you have fetched the upstream repository branch in which the subtree is maintained:

Usage: git-subtree-check.sh DIR (COMMIT)

COMMIT may be omitted, in which case HEAD is used.

lint-all.sh

Calls other scripts with the lint- prefix.