Commit graph

234 commits

Author SHA1 Message Date
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
Ian Cordasco
c9a5923a46 I was wrong. Forgot a couple lines 2012-12-29 22:14:43 -05:00
Ian Cordasco
5342830f80 Forgot to remove pep8.py 2012-12-29 22:01:00 -05:00
Ian Cordasco
b2135a0e0e Tentative independence from vendored pep8
I'm fairly certain we no longer need the copy we had of pep8.
2012-12-29 22:00:22 -05:00
Ian Cordasco
c17aeb3848 A working version but still using a local copy of pep8 2012-12-28 23:19:56 -05:00
Ian Cordasco
31bcca53f9 Start the refactor. 2012-12-26 17:59:23 -05:00
Ian Cordasco
625694094c Forgot to add the Changes for 1.7.0
Closes #50
2012-12-21 18:31:06 -05:00
Ian Cordasco
d79a2e5bc7 Release 1.7.0 2012-12-21 17:50:52 -05:00
Ian Cordasco
32a273fbdb Forgot to pull first. D'oh 2012-12-21 17:45:19 -05:00
Ian Cordasco
e2e6337a29 Update pep8.py to be far closer to upstream.
I also modified the hash-bang in flake8/flake8 and fixed check_code in
flake8/run.py
2012-12-21 17:44:30 -05:00
Ian Cordasco
2ebc38869a Possible fix for part of #35 2012-12-17 15:35:21 -05:00
Ian Cordasco
e8a4bdb948 Bump version in preparation for the next release 2012-12-15 13:55:56 -05:00
Ian Cordasco
df9d60ff73 Closes #46
Add a TRY to the bunch of items that use handleChildren as a "callback" for
lack of a better word in my sleep-deprived condition.
2012-12-14 22:24:39 -05:00
David Cramer
2249538ba8 Support stdin 2012-12-04 15:39:26 -08:00
Ian Cordasco
7dbf2f727b Closes #37 again
Although I cannot reproduce the error in clean virtualenv's I added an extra
check to be 100% certain.

Also, # nopep8 is entirely documented in the README. I entirely forgot about
it when it was first introduced (except for adding it to the "Changes""
section).
2012-12-01 10:07:29 -05:00
Ian Cordasco
16f338efd6 Incorporate @phd's builtins change.
Closes #31
2012-11-29 10:55:53 -05:00
Ian Cordasco
351e9ff7b2 Seems the git hook now allows items to be ignored.
I am unable to test the mercurial hook however since I seem to have an older
version of mercurial. I'd appreciate feedback.
2012-11-28 09:51:36 -05:00
Ian Cordasco
8e4e02861f Add git-patch-to-hg-export.py
This will allow @tarek and I to use this easily. I also modified the script so
that you can provide it the URL to pull from to simplify the process.
2012-11-26 09:14:13 -05:00
Ian Cordasco
5d2976fccb Closes #43 2012-11-26 08:45:46 -05:00
huhao
472cc21380 Fix git hook 2012-11-26 11:22:26 +08:00
Tarek Ziade
c2bb12db6c Added tag 1.6.2 for changeset bca1826148f9 2012-11-25 08:54:14 -02:00
Tarek Ziade
1b2f13c384 prep 1.6.2 2012-11-25 08:54:09 -02:00
bmcustodio
9f9a355c58 Fixes critical bug in 'flake8/util.py' causing 'flake8' to crash during code analysis. 2012-11-25 08:24:11 +00:00