Legoktm has submitted this change and it was merged. Change subject: Tox entry point to run flake8 ......................................................................
Tox entry point to run flake8 Tox is a thin wrapper around python virtualenv. It lets one define entry points that run whatever commands the devs want, Jenkins just invoke a list of known entry point. That makes it easier for developers to adjust what Jenkins is going to run. Change-Id: I16c92cb7e40cefb5b87e0e3522fa72f67cc3ca79 --- A .gitignore A tox.ini 2 files changed, 18 insertions(+), 0 deletions(-) Approvals: Legoktm: Verified; Looks good to me, approved 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..b376392 --- /dev/null +++ b/tox.ini @@ -0,0 +1,17 @@ +[tox] + +# Ensure 1.6+ is used to support 'skipsdist' +minversion = 1.6 + +# Do not run install command +skipsdist = True + +# Environements to execute when invoking 'tox' +envlist = flake8 + +[testenv:flake8] +commands = flake8 +deps = flake8 + +[flake8] +exclude = .tox -- To view, visit https://gerrit.wikimedia.org/r/149822 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I16c92cb7e40cefb5b87e0e3522fa72f67cc3ca79 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/extdist Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits