- Aug 26, 2020
-
-
Useful when using with a pre-push hook, it is useless to run flakes on the whole code base every time you push. Example of pre-push hook using this feature: ref=$(git rev-list --boundary HEAD...master | grep "^-" | cut -c2-) PYFILES="$(git diff ${ref} --name-only | grep -E "*.py$" | xargs)" $PWD/tools/pyflakes.sh if [ "$?" -ne "0" ]; then echo >&2 "Flakes error" exit 1 fi
-
- May 07, 2020
-
-
- Nov 20, 2019
-
-
hydrargyrum authored
Since all code is supposed to be python3 compatible, we should not restrict files passing through pyflakes3.
-
- Mar 16, 2019
-
-
For Selenium modules, HEADLESS should always be set back to True before pushing an MR.
-
- Jan 06, 2019
-
-
Laurent Bachelier authored
-
- Jun 09, 2018
-
-
The python3 modules listing was done before going to the root weboob git dir.
-
- Apr 27, 2018
-
-
hydrargyrum authored
The $'xxx' syntax is not standard shell syntax so it wasn't interpreted correctly, causing pyflakes to spit a lot of errors. This is after porting shebang to plain sh.
-
- Apr 26, 2018
-
-
- use env(1) to found bash on the system - remove bash dependency on few scripts
-
- Apr 23, 2018
-
-
- Mar 05, 2018
-
-
hydrargyrum authored
-
- Oct 29, 2017
-
-
- Aug 30, 2017
-
-
Florent Fourcot authored
The solution to check if a version is installed is not enough for CI. We often have python2 installed, but not onfigured. This patch stops the behaviour to run both versions, a caller must now call the script twice to check both pythons versions. It's not perfect, but probably easier to understand
-
Florent Fourcot authored
-
- Jul 22, 2017
-
-
- Jul 16, 2017
-
-
Also, fix missed warnings due to pyflakes.sh bug. And ignore /deprecated/ in python3.
-
- Jul 11, 2017
-
-
Laurent Bachelier authored
-
- Jul 08, 2017
-
-
-
Since not all modules are Python3-compatible, don't emit warnings for all. They should be declared in a dedicated file. All modules are checked in Python2 though.
-
- Jun 19, 2017
-
-
hydrargyrum authored
This will generate a lot of warnings on modules since they are not python3-compatible yet. Use the same flag for run_tests, and use python3 by default for weboob_lint.
-
- Aug 28, 2016
-
-
Romain Bignon authored
-
- Jan 17, 2016
-
-
Laurent Bachelier authored
For future Python 3 compatibility.
-
- Nov 28, 2014
-
-
Konubinix authored
-
- Oct 07, 2014
-
-
Romain Bignon authored
Use stream.isatty() instead.
-
- Oct 06, 2014
-
-
Romain Bignon authored
-
Laurent Bachelier authored
-
- Jun 18, 2014
-
-
Oleg Plakhotniuk authored
close #1404
-
- Mar 13, 2014
-
-
Romain Bignon authored
-
- Aug 12, 2013
-
-
Laurent Bachelier authored
-
- Jul 27, 2013
-
-
Laurent Bachelier authored
-
- Jul 23, 2013
-
-
Christophe Lampin authored
Signed-off-by: Christophe Lampin <weboob@lampin.net>
-
- Jul 21, 2013
-
-
Laurent Bachelier authored
And use exec to capture the real return code.
-
- Jul 20, 2013
-
-
Laurent Bachelier authored
-
- Apr 05, 2013
-
-
Laurent Bachelier authored
-
- Apr 03, 2013
-
-
Laurent Bachelier authored
-
- Mar 15, 2013
-
-
Laurent Bachelier authored
They were not in the tools/pyflakes.sh runs
-
- Mar 09, 2013
-
-
Laurent Bachelier authored
-
- Dec 19, 2012
-
-
Laurent Bachelier authored
-
- Nov 24, 2012
-
-
Laurent Bachelier authored
With flake8, we can check for more issues and ignore those who are not real issues. This allowed me to find genuine errors in: - modules/boursorama/pages/account_history.py - modules/ing/pages/login.py - weboob/tools/application/qt/qt.py I left one in weboob/tools/browser/browser.py for the time being. Some PEP8 fixes on other files.
-
- Jan 17, 2012
-
-
Romain Bignon authored
-
- Mar 01, 2011
-
-
Laurent Bachelier authored
-