mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
12047d77d0
c82190cdb6 tests: Add Python dead code linter (vulture) (practicalswift) 590a57fdec tests: Remove unused testing code (practicalswift) Pull request description: Add Python dead code linter (`vulture`) to Travis. Rationale for allowing dead code only after explicit opt-in (via `--ignore-names`): * Less is more :-) * Unused code is by definition "untested" * Unused code can be an indication of bugs/logical errors. By making the contributor aware of newly introduced unused code it gives him/her an opportunity to investigate if the unused code they introduce is malignant or benign :-) * Unused code is hard to spot for humans and is thus often missed during manual review * [YAGNI](https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it) Based on #14312 to make linter job pass. Tree-SHA512: 4c581df7c34986e226e4ade479e0d3c549daf38f4a4dc4564b25564d63e773a1830ba55d1289c771b1fa325483e8855b82b56e61859fe8e4b7dfa54034b093b6 |
||
---|---|---|
.. | ||
lint_04_install.sh | ||
lint_05_before_script.sh | ||
lint_06_script.sh | ||
README.md | ||
test_03_before_install.sh | ||
test_04_install.sh | ||
test_05_before_script.sh |
travis build scripts
The .travis
directory contains scripts for each build step in each build stage.
Currently the travis build defines two stages lint
and test
. Each stage has
it's own lifecycle.
Every script in here is named and numbered according to which stage and lifecycle
step it belongs to.