diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-04-11 11:48:22 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-04-11 11:48:25 +0200 |
commit | 22e3b6f4d5d2db7dfaa1f6b3d6bc666f294ac900 (patch) | |
tree | 42302fc8e3ecc3f326b8a9bdd85e1ca7153a8f07 /configure.ac | |
parent | cd110cdd0e55d6f68551f13383a1391bbe1017cb (diff) | |
parent | e8e48fa82bdce3f0c1da0693148867befa221de7 (diff) |
Merge bitcoin/bitcoin#24800: lint: convert lint-python-mutable-default-parameters.sh to Python
e8e48fa82bdce3f0c1da0693148867befa221de7 Converted lint-python-mutable-default-parameters.sh to python (TakeshiMusgrave)
Pull request description:
This converts one of the linter scripts to Python. Reference issue: https://github.com/bitcoin/bitcoin/issues/24783
The approach is to just call git grep using subprocess.run.
Alternative approaches could be to use Python instead of git grep (I'm not sure how) or use ```pylint --disable=all --enable=W0102```, though that requires installation of pylint.
ACKs for top commit:
MarcoFalke:
review ACK e8e48fa82bdce3f0c1da0693148867befa221de7
Tree-SHA512: 7f6f4887dee02c9751b225a6a131fb705868859c4a9af25bb3485cda2358650486b110f17adf89d96a20f212d7d94899922a07aab12c8dc11984cfd5feb7a076
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions