Commit graph

418 commits

Author SHA1 Message Date
Florent Xicluna
3e1452d10e setup.py: remove 'scripts' which is redundant with setuptools entry points; issue #70 2013-02-20 22:32:04 +01:00
Florent Xicluna
20b49ee257 setup.py: reorder entries 2013-02-20 22:30:24 +01:00
Florent Xicluna
7362d57c24 Restore the whole-file-skip feature 2013-02-20 21:14:13 +01:00
Florent Xicluna
fa092c0294 Remove the obsolete argument 'reporter' of check_code and check_file 2013-02-20 18:45:48 +01:00
Florent Xicluna
1496579fb2 Take into account that setuptools is no longer optional 2013-02-20 18:44:17 +01:00
Florent Xicluna
be9f2a5ffb Remove unused read_stdin, now ported to pep8 2013-02-20 18:42:31 +01:00
Florent Xicluna
e4afd25312 Small refactoring in the hooks module 2013-02-20 18:41:29 +01:00
Florent Xicluna
a6977c1916 Add Ian and me as contributors 2013-02-20 18:39:54 +01:00
Marc Schlaich
d242899fb5 Added some messages for pep8 2013-02-20 11:36:30 +01:00
Florent Xicluna
6055fcea2c Remove leftovers of the Flint merge 2013-02-14 17:21:34 +01:00
Florent Xicluna
3a99cd18b6 Turn it to an alpha version 2013-02-14 16:16:16 +01:00
Florent Xicluna
b721a38b39 Fix Pyflakes tests for Python 2.5, and add a reporter 2013-02-13 22:03:56 +01:00
Florent Xicluna
29b74f9b37 Wrong exit code for the VCS hooks 2013-02-13 21:26:28 +01:00
Florent Xicluna
a13bdad3d8 Wrong exit code returned by the setuptools Flake8Command 2013-02-13 21:07:31 +01:00
Florent Xicluna
015da9fabb Remove unused global 2013-02-13 20:23:58 +01:00
Florent Xicluna
df6375c952 Fix the codes in the tests 2013-02-13 19:53:56 +01:00
Florent Xicluna
321bbce17f Fix the get_*_complexity functions 2013-02-13 19:53:01 +01:00
Florent Xicluna
1c6ed0526a Upgrade McCabe checker as an extension; now it uses the AST 2013-02-13 19:41:23 +01:00
Florent Xicluna
740e8b9ad6 Remove empty module 2013-02-13 19:30:04 +01:00
Florent Xicluna
16b9fe108c Restore the ConfigParser import, used by the flake8.hooks 2013-02-13 19:27:43 +01:00
Florent Xicluna
212364d89c Create and enable the Pyflakes extension 2013-02-13 19:22:34 +01:00
Florent Xicluna
701ec32e3f Fix the commit hooks, hopefully 2013-02-13 19:21:37 +01:00
Florent Xicluna
3ee195a8ba Fix imports in flake8.run 2013-02-13 19:19:30 +01:00
Florent Xicluna
20b8c5962e Refactor to use extensions 2013-02-13 19:18:49 +01:00
Florent Xicluna
844c951154 Make it clear that Flake8Command is currently broken 2013-02-13 17:16:28 +01:00
Florent Xicluna
8a50be88b3 Prepare moving Pyflakes as an extension: setuptools becomes mandatory 2013-02-13 16:48:33 +01:00
Florent Xicluna
debc186594 Merged: unused import 2013-02-13 16:38:12 +01:00
Florent Xicluna
4f57016809 Unused import 2013-02-13 16:31:52 +01:00
Ian Cordasco
0b32d3373a Add a possible file for collecting the ext work 2013-02-13 10:08:19 -05:00
Ian Cordasco
064f986d9a Fixes #69
Note to self: I also have to make sure the VCS hooks work with the new
pyflakes API.
2013-02-13 09:51:32 -05:00
Ian Cordasco
10cc0f3391 Update Buildout docs 2013-02-11 11:18:41 -05:00
Ian Cordasco
b97d869e20 Further simplification thanks to pep8 2013-02-10 15:10:03 -05:00
Ian Cordasco
25dd8c445e Fix tests 2013-02-10 13:55:57 -05:00
mrtheb
5930ea63bc added forgotten MANIFEST.in 2013-02-09 22:34:05 -05:00
mrtheb
4f95dc317b added entry_point for flake8 on py3 2013-02-09 22:19:26 -05:00
Ian Cordasco
4cc6f1dd66 Bump to pep8 1.4.2 to remove some hacks
I'm so glad this came out.
2013-02-09 19:25:44 -05:00
Ian Cordasco
5ab98117ba Fixes #66
flake8 will defer to local configurations first but then will check global
per-user configuration
2013-02-08 18:26:18 -05:00
Ian Cordasco
42231ff1ec Fixes #58 2013-02-08 18:19:26 -05:00
Ian Cordasco
8a32526022 Add error numbers to pyflakes messages 2013-02-08 17:53:08 -05:00
Ian Cordasco
d220a65222 Transition to pyflakes 0.6.1
That was less painful than I thought it would be.
2013-02-08 17:35:56 -05:00
Ian Cordasco
1d247709a0 Fixes #56.
This is a really horrible hack, but hopefully future versions of pep8 will
bring a nicer API to manipulate. I'll be gladly contributing to it.
2013-01-24 19:21:36 -05:00
Ian Cordasco
a88ec88c62 Comment some lines 2013-01-24 12:06:53 -05:00
Ian Cordasco
7ad7b0ea7a pep8 will now recognize .flake8
But this will not guarantee that a section titled `[flake8]` will be parsed.
This will take more work.

re: #56
2013-01-22 10:38:47 -05:00
Ian Cordasco
9445a25f50 Use alternate warnings from flakey
Update the README to reflect this change.
2013-01-22 10:32:01 -05:00
Ian Cordasco
8f5bb5dc0d Merged refactor branch. We're nearing 2.0 2013-01-22 09:30:33 -05:00
Ian Cordasco
ce7952497e Ignore .orig files 2013-01-22 09:29:07 -05:00
Ian Cordasco
2d2744b017 Pin pep8 dependecy.
Thanks @flox (@florentx)!
2013-01-18 19:23:36 -05:00
Ian Cordasco
f06f484b21 Some changes re #59 2013-01-11 10:09:08 -05:00
Ian Cordasco
b2395b9ccd Forgot to pull first.
I am an idiot.
2013-01-09 13:21:45 -05:00
Ian Cordasco
e9366a904e Closes #54
This was really the only major difference and it worked.
2013-01-09 13:20:18 -05:00