Samuel Loury
b32540e445
Prevent pyflakes from being called if not found
2014-11-28 17:24:34 +01:00
Romain Bignon
5bd70c564f
os.isatty is now forbidden (as stream.fileno() is not implemented by StringIO)
...
Use stream.isatty() instead.
2014-10-07 09:39:12 +02:00
Romain Bignon
be7d49312d
add check to prevent prints in weboob modules
2014-10-06 17:22:37 +02:00
Laurent Bachelier
a64787f7f7
Add some previous fixes to pyflakes.sh checks
2014-10-06 17:00:26 +02:00
Oleg Plakhotniuk
0572b710c3
Fix call of pyflakes on Archlinux
...
close #1404
2014-06-18 14:58:54 +02:00
Romain Bignon
12470c1b8f
ignore 'except' in a comment
2014-03-13 22:06:48 +01:00
Laurent Bachelier
57d38783b6
pyflakes.sh: Explicit errors
2013-08-12 15:32:09 +02:00
Laurent Bachelier
1025f71eb9
pyflakes.sh: Ban more stuff
2013-07-27 15:17:47 +02:00
Christophe Lampin
81c1e65092
add lines number
...
Signed-off-by: Christophe Lampin <weboob@lampin.net>
2013-07-23 13:11:49 +02:00
Laurent Bachelier
b55dbe04fc
Update flake8 support, stop workaround for modern pyflakes
...
And use exec to capture the real return code.
2013-07-21 03:46:25 +02:00
Laurent Bachelier
216ba19e6a
Ban setlocale
2013-07-21 00:40:49 +02:00
Laurent Bachelier
0aa4fd3ede
Use only tracked Python files
2013-04-05 18:57:22 +02:00
Laurent Bachelier
a99b1ce73d
More code quality checks
2013-04-03 19:04:55 +02:00
Laurent Bachelier
dcb2b61b18
pyflakes fixes for unchecked files
...
They were not in the tools/pyflakes.sh runs
2013-03-16 00:52:43 +01:00
Laurent Bachelier
f0828ee24b
Ignore Qt generated UI files
2013-03-09 14:57:08 +01:00
Laurent Bachelier
c64fb9150e
Support systems with flake8 for python3 by default
2012-12-19 15:12:18 +01:00
Laurent Bachelier
541d080c9d
Use flake8 if available instead of pyflakes
...
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.
2012-11-24 19:46:34 +01:00
Romain Bignon
14a7a1d362
support repositories to manage backends ( closes #747 )
2012-01-17 17:00:05 +01:00
Laurent Bachelier
f36e953baa
Make pyflakes work regardless of $PWD, fix grammar
2011-03-02 00:18:30 +01:00
Romain Bignon
28f622e071
fix script to grep -v only one message type (redefinition)
2010-08-13 22:22:42 +02:00
Christophe Benz
eaf40e8c58
move pyflakes to tools dir
2010-05-19 11:15:31 +02:00