diff options
| author | MarcoFalke <[email protected]> | 2018-10-08 05:25:44 -0300 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-10-08 05:25:46 -0300 |
| commit | a89896fadb119100592bbc60e6ba3933c60d6eeb (patch) | |
| tree | 7ea68e45fd0391d227bf3a8e5476b5009ed83113 /src/httpserver.cpp | |
| parent | Merge #14253: Build: during 'make clean', remove some files that are currentl... (diff) | |
| parent | test: allow arguments to be forwarded to flake8 in lint-python.sh (diff) | |
| download | discoin-a89896fadb119100592bbc60e6ba3933c60d6eeb.tar.xz discoin-a89896fadb119100592bbc60e6ba3933c60d6eeb.zip | |
Merge #13649: test: allow arguments to be forwarded to flake8 in lint-python.sh
854c85ae90 test: allow arguments to be forwarded to flake8 in lint-python.sh (James O'Beirne)
Pull request description:
In order to use `lint-python.sh` from within various in-editor linting frameworks (e.g. [ALE](https://github.com/w0rp/ale), [flycheck](https://github.com/flycheck/flycheck)), we need to allow its arguments to be forwarded to the wrapped flake8 invocation.
For what it's worth, here's my bitcoin-specific ALE vim config for doing so (requires this changeset):
```vim
$ grep python /home/james/src/bitcoin/.exrc
let g:ale_python_flake8_executable="/home/james/src/bitcoin/test/lint/lint-python.sh"
```
Tree-SHA512: 0d5500238ea5fde26ee9c21f6518a3a3dc8409c77ad1271ff7e7a94ef45a8c8d2e1b8ad3df3075dd4062ee0fff534625b1bc79613f869cd3c2d9260814ffc7ee
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions