diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-01-16 10:53:48 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-01-16 10:54:14 +0100 |
commit | fadb06c361bbda78192d89fd06195f0aa5418c56 (patch) | |
tree | 03d90dcfeb3d3be6ac74fb35627a3aa917b08f55 /test/lint | |
parent | 2ac2821a74efdd0f61f091b0fc774cc386930c95 (diff) |
doc: move-only lint docs to one place
Can be reviewed with --color-moved=dimmed-zebra
Diffstat (limited to 'test/lint')
-rw-r--r-- | test/lint/README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/lint/README.md b/test/lint/README.md index 484008298b..473b21b737 100644 --- a/test/lint/README.md +++ b/test/lint/README.md @@ -22,6 +22,36 @@ To run the checks in the test runner outside the docker, use: ( cd ./test/lint/test_runner/ && cargo fmt && cargo clippy && cargo run ) ``` +#### Dependencies + +| Lint test | Dependency | +|-----------|:----------:| +| [`lint-python.py`](lint/lint-python.py) | [flake8](https://gitlab.com/pycqa/flake8) +| [`lint-python.py`](lint/lint-python.py) | [lief](https://github.com/lief-project/LIEF) +| [`lint-python.py`](lint/lint-python.py) | [mypy](https://github.com/python/mypy) +| [`lint-python.py`](lint/lint-python.py) | [pyzmq](https://github.com/zeromq/pyzmq) +| [`lint-python-dead-code.py`](lint/lint-python-dead-code.py) | [vulture](https://github.com/jendrikseipp/vulture) +| [`lint-shell.py`](lint/lint-shell.py) | [ShellCheck](https://github.com/koalaman/shellcheck) +| [`lint-spelling.py`](lint/lint-spelling.py) | [codespell](https://github.com/codespell-project/codespell) + +In use versions and install instructions are available in the [CI setup](../ci/lint/04_install.sh). + +Please be aware that on Linux distributions all dependencies are usually available as packages, but could be outdated. + +#### Running the tests + +Individual tests can be run by directly calling the test script, e.g.: + +``` +test/lint/lint-files.py +``` + +You can run all the shell-based lint tests by running: + +``` +test/lint/all-lint.py +``` + check-doc.py ============ Check for missing documentation of command line options. |