qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject [qpid-dispatch] branch master updated: DISPATCH-1534: fix python-checker test to include generated qdstat and qdmanage scripts
Date Mon, 06 Jan 2020 21:22:12 GMT
This is an automated email from the ASF dual-hosted git repository.

kgiusti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 1659a26  DISPATCH-1534: fix python-checker test to include generated qdstat and qdmanage
scripts
1659a26 is described below

commit 1659a265d1b4234d6193c912b233c613cb156982
Author: Kenneth Giusti <kgiusti@apache.org>
AuthorDate: Fri Dec 20 13:22:18 2019 -0500

    DISPATCH-1534: fix python-checker test to include generated qdstat and qdmanage scripts
    
    This closes #655
---
 tests/tox.ini.in | 10 +++++++++-
 tools/qdstat.in  |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/tests/tox.ini.in b/tests/tox.ini.in
index 84d3f41..7aeca40 100644
--- a/tests/tox.ini.in
+++ b/tests/tox.ini.in
@@ -27,7 +27,15 @@ skip_install = True
 [testenv]
 # we ignore lots of errors/warnings we probably should not,
 # but it will take a lot of effort to make the code PEP8 compliant...
-commands = flake8 --count ${CMAKE_SOURCE_DIR}/python ${CMAKE_SOURCE_DIR}/console ${CMAKE_SOURCE_DIR}/docs
${CMAKE_SOURCE_DIR}/tests ${CMAKE_SOURCE_DIR}/tools --show-source --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H
[...]
+commands = flake8 --count --show-source \
+  ${CMAKE_SOURCE_DIR}/python \
+  ${CMAKE_SOURCE_DIR}/console \
+  ${CMAKE_SOURCE_DIR}/docs \
+  ${CMAKE_SOURCE_DIR}/tests \
+  ${CMAKE_SOURCE_DIR}/tools \
+  ${CMAKE_SOURCE_DIR}/tools/qdstat \
+  ${CMAKE_SOURCE_DIR}/tools/qdmanage \
+  --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
 deps = hacking>=1.1.0
 
 # flake8 no longer supports python2.6
diff --git a/tools/qdstat.in b/tools/qdstat.in
index 9b39820..2fd474c 100755
--- a/tools/qdstat.in
+++ b/tools/qdstat.in
@@ -803,4 +803,4 @@ def run(argv):
         bm.close()
 
 if __name__ == "__main__":
-        sys.exit(main(run))
+    sys.exit(main(run))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message