Commit graph

96 commits

Author SHA1 Message Date
Steven Kryskalla
753ef01fb9 MacCabe -> McCabe 2012-02-21 18:48:08 -08:00
Steven Kryskalla
1feeec96f9 Add a flag for exiting with status code 0, even when there are warnings
This might be useful e.g. in a build system where exiting with status code > 0
always means the build failed. In that case, you still want to signify that
flake8 itself ran without problems, even when there are warnings.
2012-02-21 17:02:53 -08:00
Tarek Ziade
fabd0fa801 more weird edge cases py2/3 2012-02-21 15:46:05 +01:00
Tarek Ziade
ef4b069970 Fixed the exception scope behavior 2012-02-21 14:28:12 +01:00
Tarek Ziade
d8f6e431f1 removed some prints 2012-02-21 13:19:35 +01:00
Tarek Ziade
cf16bf82b9 cleanup 2012-02-21 13:04:01 +01:00
Tarek Ziade
fde77e2168 fixed the way exception definitions are bind 2012-02-21 13:02:28 +01:00
Tarek Ziade
1307356ba7 merge back Jason change 2012-02-21 11:52:32 +01:00
Tarek Ziade
29bb206fd4 merged branch python3 2012-02-21 11:49:21 +01:00
Tarek Ziade
b29f197d69 fixed the mccabe complexity for py3 and py2 as well 2012-02-21 11:31:16 +01:00
Tarek Ziade
1003eeabe8 make sure the name of the exception is added in the scope of the exception - fixes #10 2012-02-21 10:43:16 +01:00
Tarek Ziade
b1690f818d more ignores 2012-02-21 10:40:58 +01:00
Tarek Ziade
c3dc6b8c01 more ignores 2012-02-21 10:40:43 +01:00
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
3027204914 ignore warning on the import - fixes #9 2012-02-21 09:47:05 +01:00
Jason Kölker
b8575081ed Add --builtins option to appending list of builtins
Useful for projects using gettext that add '_' as a builtin
2012-02-15 11:17:17 -06:00
Tarek Ziade
0ac0cec20f more py3 fixes 2012-02-14 21:27:41 +01:00
Tarek Ziade
232fc33060 removing setuptools dep for py3 and install 2012-02-14 21:19:03 +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
7b4ab7be47 Added tag 1.1 for changeset 33104f05ce6c 2012-02-14 13:26:03 +01:00
Tarek Ziade
1633d9a269 cleanup 2012-02-14 13:25:42 +01:00
Tarek Ziade
c463da34c3 added details in the README + new contributor 2012-02-14 13:24:46 +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
Ask Solem
d5d28da816 setup.py: Use setuptools if available, for 'develop' command 2012-02-06 15:55:34 +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
Timothée Peignier
28e07cee91 change README 2012-01-04 15:59:15 +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
Giacomo Spettoli
49b10fcad3 Added doc paragraph for buildout integration 2011-11-29 14:49:12 +01:00
Tarek Ziade
284aca6a9c starting 1.1 2011-11-29 13:45:02 +01:00
Tarek Ziade
cd97d56eee Added tag 1.0 for changeset f49f8afba1da 2011-11-29 13:41:19 +01:00
Tarek Ziade
a6e2297838 made complexity an option (deactivated by default) 2011-11-29 13:40:40 +01:00
Tarek Ziade
d0dc42f37a starting 1.0 2011-11-09 14:50:30 +01:00
Tarek Ziade
bb6b396579 Added tag 0.9 for changeset 6403df46028f 2011-11-09 14:49:31 +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
Tarek Ziade
fc026a5e8a prep for 0.9 2011-11-09 14:43:23 +01:00
Ben Bass
3035b04dce apply pep8.py changes as per previous version 2011-10-17 21:55:02 +01:00