diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-10-08 05:25:44 -0300 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-10-08 05:25:46 -0300 |
commit | a89896fadb119100592bbc60e6ba3933c60d6eeb (patch) | |
tree | 7ea68e45fd0391d227bf3a8e5476b5009ed83113 /src/net_processing.cpp | |
parent | da32bd80bf3cab07e12f574dafcf11345a961444 (diff) | |
parent | 854c85ae904075503215f94d6329d38d2d8dfb6b (diff) |
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/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions