mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
7be2b2456a
fa3c910bfeab00703c947c5200a64c21225b50ef test: Move linters to test/lint, add readme (MarcoFalke) Pull request description: This moves the checks and linters from `devtools` to a subfolder in `test`. (Motivated by my opinion that the dev tools are mostly for generating code and updating the repo whereas the linters are read-only checks.) Also, adds a readme to clarify that checks and linters are only meant to prevent bugs and user facing issues, not merely stylistic preference or inconsistencies. (This is motivated by the diversity in developers and work flows as well as existing code styles. It would be too disruptive to change all existing code to a single style or too burdensome to force all developers to adhere to a single style. Also note that our style guide is changing, so locking in at the wrong style "too early" would only waste resources.) Tree-SHA512: 9b10e89f2aeaf0c8a9ae248aa891d74e0abf0569f8e5dfd266446efa8bfaf19f0ea0980abf0b0b22f0d8416ee90d7435d21a9f9285b66df43f370b7979173406
30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
This folder contains lint scripts.
|
|
|
|
check-doc.py
|
|
============
|
|
Check for missing documentation of command line options.
|
|
|
|
commit-script-check.sh
|
|
======================
|
|
Verification of [scripted diffs](/doc/developer-notes.md#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:
|
|
* for `src/secp256k1`: https://github.com/bitcoin-core/secp256k1.git (branch master)
|
|
* for `src/leveldb`: https://github.com/bitcoin-core/leveldb.git (branch bitcoin-fork)
|
|
* for `src/univalue`: https://github.com/bitcoin-core/univalue.git (branch master)
|
|
* for `src/crypto/ctaes`: https://github.com/bitcoin-core/ctaes.git (branch master)
|
|
|
|
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.
|