Commit graph

45 commits

Author SHA1 Message Date
Tarek Ziade
7beb6d3845 make sure skip_warning works with no files 2012-02-21 10:37:40 +01:00
Tarek Ziade
b97f9f542d io under py3 2012-02-21 10:37:12 +01:00
Tarek Ziade
0d0d5d84b5 make sure skip_warning works with no files 2012-02-21 10:36:55 +01:00
Tarek Ziade
0ac0cec20f more py3 fixes 2012-02-14 21:27:41 +01:00
Tarek Ziade
aa4a855c38 starting a py2/py3 compatible version 2012-02-14 21:15:54 +01:00
Tarek Ziade
e3b33db104 fixed the path to pyflakes 2012-02-14 20:55:48 +01:00
Tarek Ziade
625834cfff fixed space 2012-02-14 14:21:16 +01:00
Tarek Ziade
e439682c85 added a git hook - fixes #8 2012-02-14 14:20:51 +01:00
Tarek Ziade
6eb3405dd0 starting 1.2 2012-02-14 13:28:41 +01:00
Tarek Ziade
1633d9a269 cleanup 2012-02-14 13:25:42 +01:00
Tarek Ziade
3fabe017ae display all versions in --version - fixes #7 2012-02-14 13:18:16 +01:00
Tarek Ziade
1fb8c5113b moved flake8 script so it does not interfer with virtualenv since we;re now allowing setuptools-based installation 2012-02-14 13:12:22 +01:00
Tarek Ziadé
603dd96ae3 Merged in asksol/flake8 (pull request #8) 2012-02-12 14:01:05 +01:00
Tarek Ziadé
a6fba0ebb5 Merged in cyberdelia/flake8/regexp-search (pull request #6) 2012-02-06 14:14:55 -08:00
Ask Solem
00bce8b2bc Allows 3 arity form of raise 2012-02-06 16:12:46 +00:00
Stefan Scherfke
b4f73f0f8c The hg hook should now have the same output as a direct call to flake8. 2012-02-02 11:11:19 +01:00
Timothée Peignier
bdc297d151 match isn't helpful with the new NOQA regexp 2012-01-30 11:04:28 +01:00
Tarek Ziadé
ad87ad1960 Merged in cyberdelia/flake8 (pull request #4) 2012-01-04 16:02:29 +01:00
Stefan Scherfke
714ea7a0e2 Fixed issue #6. 2012-01-04 09:16:51 +01:00
Timothée Peignier
2c8b8f6247 allow the flake8: header to be more generic 2011-12-25 11:02:36 +01:00
Tarek Ziade
a6e2297838 made complexity an option (deactivated by default) 2011-11-29 13:40:40 +01:00
Tarek Ziade
87dc65eac1 cleanup 2011-11-09 14:49:16 +01:00
Tarek Ziade
ff8a99cd62 make sure flake8 is clean 2011-11-09 14:48:02 +01:00
Ben Bass
3035b04dce apply pep8.py changes as per previous version 2011-10-17 21:55:02 +01:00
Ben Bass
a5d203440a update pep8.py to upstream version 0.6.1 2011-10-17 21:53:25 +01:00
Chris Adams
b56abdedf3 mccabe check: gracefully handle compile failures
compiler.parse() will fail with an unhandled AttributeError when called with a
module. Now a message will be printed to stderr and the mccabe check will return
0 rather than crashing.
2011-09-21 18:30:49 -04:00
Tarek Ziade
49eb37bb5d discard unexisting files - happens on hg rm 2011-02-27 17:16:32 +01:00
Stefan Scherfke
dcc311be76 Fixed hg hook. 2011-02-27 16:08:17 +01:00
Tarek Ziade
8d71ebb10f merged 2011-02-18 09:07:23 +01:00
Tarek Ziade
831ef5423c fixed pep8 initialization when its run via hg 2011-02-18 09:05:34 +01:00
Nicolas Dumazet
06d30763b3 mercurial hook: skip duplicates
If a push contains several commits affecting many times the same
file, we only need to check once for the changed file.
2011-02-18 12:23:15 +09:00
Nicolas Dumazet
13d0efd6d7 use mercurial's ui.configbool API to retrieve booleans 2011-02-18 12:20:34 +09:00
Tamás Gulácsi
ecfff84f0e make repeat default, rename --repeat to --no-repeat 2011-02-16 20:23:43 +01:00
Tamás Gulácsi
c630547441 make short options work 2011-02-16 19:58:33 +01:00
Tarek Ziade
e6068a3a38 fixed mccabe for global loops and nested functions 2011-02-15 11:55:10 +01:00
Tarek Ziade
3960104be3 code cleanup 2011-02-13 12:35:01 +01:00
Tarek Ziade
263533c9fd added the mccabe metric 2011-02-13 11:43:19 +01:00
Tarek Ziade
f40b1114b6 fixed typo 2011-02-08 12:05:58 +01:00
Tarek Ziade
93d19d39a5 added a header to skip files 2011-02-08 11:46:21 +01:00
Tarek Ziade
5a1a4917e1 bypass non-python files 2011-02-03 16:56:16 +01:00
Tarek Ziade
8fbf4c0a81 added a mercurial hook 2011-01-26 11:59:05 +01:00
Stephane Wirtel
ed429af48c Use the flake8 tool on the master branch 2010-08-12 17:07:03 +02:00
Tarek Ziade
611db91aae skipping lines that end with #noqa 2010-08-12 15:31:29 +02:00
Tarek Ziade
9e283b063f fixed outputs 2010-08-12 15:02:26 +02:00
Tarek Ziade
0da965fa72 initial commit 2010-08-12 14:40:53 +02:00