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
Ian Cordasco
194bab1944
Back to 1.7 for future development.
2012-11-24 23:23:30 -05:00
Ian Cordasco
333663f2b9
Release 1.6.1
2012-11-24 20:53:43 -05:00
Ian Cordasco
3af2919414
Release 1.6.1
...
This fixed a few important bugs that came up as a result of not being thorough
enough with my testing.
2012-11-24 20:53:03 -05:00
Ian Cordasco
caab4bd18d
Fixes #41
...
Seems like the patch that fixed skipping some warnings broke this.
2012-11-19 21:39:57 -05:00
Ian Cordasco
7d2b8e6b07
Fixes #40
...
I missed one of the lines changed where pep8style was required for skip_file.
2012-11-19 21:36:44 -05:00
Ian Cordasco
9e6f5325d6
Update to 1.7 for the next release.
2012-11-16 19:51:33 -05:00
Ian Cordasco
11ec1e7bd6
Release 1.6
2012-11-16 19:50:42 -05:00
Ian Cordasco
14c7a9b82d
Back out of that tag.
2012-11-16 19:50:26 -05:00
Ian Cordasco
20bbf8d123
Forgot to edit the README ahead of releasing 1.6
2012-11-16 19:49:58 -05:00
Ian Cordasco
0bd01d3846
Release 1.6
2012-11-16 19:38:28 -05:00
Tarek Ziadé
c13fdc8ce3
Merged in fix_excludes (pull request #27 )
2012-11-16 10:26:42 +01:00
Ian Cordasco
13ee10c914
Add Marc Labbé to the CONTRIBUTORS file.
...
He forgot to add himself and never used his email address.
2012-11-15 14:16:32 -05:00