diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2018-07-12 14:11:23 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2018-09-24 18:24:25 -0400 |
commit | 854c85ae904075503215f94d6329d38d2d8dfb6b (patch) | |
tree | 1211cc66fedca39a79151b619dfe2e8fb621337b /test/lint/lint-python.sh | |
parent | 4dac24db23d121ec21080f04e210227c4ff5d281 (diff) |
test: allow arguments to be forwarded to flake8 in lint-python.sh
Diffstat (limited to 'test/lint/lint-python.sh')
-rwxr-xr-x | test/lint/lint-python.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-python.sh b/test/lint/lint-python.sh index 4f4542ff0c..d44a585294 100755 --- a/test/lint/lint-python.sh +++ b/test/lint/lint-python.sh @@ -87,4 +87,4 @@ elif PYTHONWARNINGS="ignore" flake8 --version | grep -q "Python 2"; then exit 0 fi -PYTHONWARNINGS="ignore" flake8 --ignore=B,C,E,F,I,N,W --select=E101,E112,E113,E115,E116,E125,E129,E131,E133,E223,E224,E242,E266,E271,E272,E273,E274,E275,E304,E306,E401,E402,E502,E701,E702,E703,E714,E721,E741,E742,E743,E901,E902,F401,F402,F403,F404,F405,F406,F407,F601,F602,F621,F622,F631,F701,F702,F703,F704,F705,F706,F707,F811,F812,F821,F822,F823,F831,F841,W191,W291,W292,W293,W504,W601,W602,W603,W604,W605,W606 . +PYTHONWARNINGS="ignore" flake8 --ignore=B,C,E,F,I,N,W --select=E101,E112,E113,E115,E116,E125,E129,E131,E133,E223,E224,E242,E266,E271,E272,E273,E274,E275,E304,E306,E401,E402,E502,E701,E702,E703,E714,E721,E741,E742,E743,E901,E902,F401,F402,F403,F404,F405,F406,F407,F601,F602,F621,F622,F631,F701,F702,F703,F704,F705,F706,F707,F811,F812,F821,F822,F823,F831,F841,W191,W291,W292,W293,W504,W601,W602,W603,W604,W605,W606 "${@:-.}" |