lbrycrd/test/lint
Wladimir J. van der Laan a90ca4087a
Merge #13448: Add linter: Make sure we explicitly open all text files using UTF-8 encoding in Python
c8176b3cc7 Add linter: Make sure we explicitly open all text files using UTF-8 or ASCII encoding in Python (practicalswift)
634bd97001 Explicitly specify encoding when opening text files in Python code (practicalswift)

Pull request description:

  Add linter: Make sure we explicitly open all text files using UTF-8 encoding in Python.

  As requested by @laanwj in #13440.

Tree-SHA512: 1651c00fe220ceb273324abd6703aee504029b96c7ef0e3029145901762c733c9b9d24927da281394fd4681a5bff774336c04eed01fafea997bb32192c334c06
2018-06-16 15:23:14 +02:00
..
check-doc.py policy: Treat segwit as always active 2018-05-29 16:49:52 -04:00
check-rpc-mappings.py Explicitly specify encoding when opening text files in Python code 2018-06-12 21:34:52 +02: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-filenames.sh Add linter: Enforce the source code file naming convention described in the developer notes 2018-06-14 22:40:41 +02: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-utf8-encoding.sh Add linter: Make sure we explicitly open all text files using UTF-8 or ASCII encoding in Python 2018-06-12 21:49:04 +02: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.