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
Kevin Stanton
e236b7f6b3
Add support for the pep8 config file
...
Closes #55 .
2013-01-09 11:31:41 -05:00
Ian Cordasco
8eec1e5e11
Fixes #57
...
Don't allow for ignore to be None
2013-01-09 11:26:00 -05:00
John Watson
0d3cc25400
Clear os.walk's dirnames to properly exclude dirs
...
I have a project:
`./foo/__init__.py`
`./foo/bar/__init__.py`
`./foo/baz.py`
`./__init__.py`
`./qux.py`
Running: `flake8 --exclude="foo" ./`
Checks:
`./foo/bar/__init__.py`
`./__init__.py`
`./qux.py`
This patch prevents the continued walking of **foo**'s subdirectories and not
just files.
2013-01-08 20:33:50 -08:00
Ian Cordasco
264bc0370a
Use pep8's parser
...
That much closer to a release
2013-01-05 21:23:44 -05:00
Ian Cordasco
93538ea852
Add myself as a maintainer in setup()
2013-01-04 12:20:42 -05:00
Ian Cordasco
ed0c63ba5d
Merge remote tarek/flake8 locally
...
I guess I need more sleep.
2013-01-04 11:27:53 -05:00
Ian Cordasco
9cd5dbc96f
Rely on flakey's new ability to skip stdin errors
...
Resolves our half of tickets #53 , and #53 I believe.
2013-01-04 11:23:47 -05:00
Ian Cordasco
d8a30e19af
Mention changes in preparation for 2.0.0
...
Working version of --install-hook.
2013-01-02 16:04:55 -05:00
Ian Cordasco
3bd8a21f62
Split up flake8/run.py
...
I've preserved the API for users expecting their hooks and other things to
work.
That said, I'm working on #51 now as well.
2013-01-01 23:09:33 -05:00
Ian Cordasco
08099588df
This is what I meant to do in a03347e
2013-01-01 22:48:56 -05:00
Ian Cordasco
7200f8f4bd
Filter out our options before passing to pep8
...
Update the .hgignore with a few pet peeves.
2012-12-30 18:05:30 -05:00
Ian Cordasco
8810532989
flake8/ now passes flake8
2012-12-29 22:15:33 -05:00