Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/237489
Change subject: Add tox and flake8 ...................................................................... Add tox and flake8 Would let one lint the python code easily: $ sudo apt-get install python-tox tox Change-Id: I15b10d7a1a9a6cad11a1516a26eb7a9c13df0bcb --- A .gitignore A tox.ini 2 files changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/debs/adminbot refs/changes/89/237489/1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f4d761 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..ac6c2ed --- /dev/null +++ b/tox.ini @@ -0,0 +1,13 @@ +[tox] +minversion = 1.6 +skipsdist = True +envlist = flake8 + +[testenv:flake8] +commands = flake8 {posargs} +deps = flake8 + +[flake8] +; E128 continuation line under-indented for visual indent +ignore = E128 +exclude = .tox -- To view, visit https://gerrit.wikimedia.org/r/237489 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I15b10d7a1a9a6cad11a1516a26eb7a9c13df0bcb Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/adminbot Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits