Re: [Pywikipedia-l] flake8 and nose tests on new patches

2014-08-28 Thread Mpaa
Is there a way to make flake8 consider only those files that are tracked in git? I have other untracked files in my core dir and flake8 generates warnings related to such files which are actually out of scope. That would be appreciated. Thanks Mpaa On Tue, Aug 19, 2014 at 10:39 AM, Antoine

Re: [Pywikipedia-l] flake8 and nose tests on new patches

2014-08-19 Thread Antoine Musso
Le 18/08/2014 17:48, John Mark Vandenberg a écrit : To run only the tests which are run by jenkins, even without a user-config.py file, use PYWIKIBOT2_NO_USER_CONFIG=1 nosetests -a !site,!net As an alternative, one can use tox which create virtualenv on the fly and takes care of installing

[Pywikipedia-l] flake8 and nose tests on new patches

2014-08-18 Thread John Mark Vandenberg
Thanks to many of you who have worked on the flake warnings over the last few months, the code base now has zero flakes, and thanks to hashar a 'flake8' job now votes against any changeset which has flakes. Also, nose tests are also run for every changeset before the code is merged, but only the