Commit graph

421 commits

Author SHA1 Message Date
Ian Cordasco
70a75d8f08 I'm not exactly a fan of skip_file taking pep8style. 2012-11-12 11:38:33 -05:00
Ian Cordasco
547f71b243 Closes #38.
Check to see if the file exists before checking to see if it should be
skipped.
2012-11-12 10:00:06 -05:00
Kilian Koepsell
a53880364c Ignore directories that match exclusion patterns. 2012-11-10 01:21:45 -08:00
Kilian Koepsell
56ba00ea2e Respect exclude option from pep8 - fixes #23
Modify the util.skip_file() method to honor the pep8 exclude
option from .pep8 config file or from the command line.
2012-11-09 22:57:45 -08:00
Ian Cordasco
72bd7ee8cf Forgot to document the `lazy` param. 2012-11-08 13:45:31 -05:00
Ian Cordasco
01471f885d Add lazy option to the git_hook. 2012-11-08 13:44:17 -05:00
Ian Cordasco
ada8d325ca Fixes #37.
I'm pre-emptively merging my own changes that I submitted upstream here for
milestone 1.6
2012-11-08 10:47:12 -05:00
Ian Cordasco
82ea7edadc Fixes #14 and #19.
@BackSeat contributed the patch. Signature changes are mentioned in README.
2012-11-08 09:03:54 -05:00
Tarek Ziade
110099b355 Fixed typo, thanks to Tiago Oliveira - fixes #36 2012-11-08 11:15:19 +01:00
Ian Cordasco
cc1d7c5385 Merge in @tarek's changes. 2012-11-07 20:33:04 -05:00
Tarek Ziade
982b089243 make sure pep8style is always initialized 2012-11-07 20:58:40 +01:00
Ian Cordasco
a4ebc1c5c4 Fix #21. `init` can also be used elsewhere.
Sane defaults are awesome. Also, I hope mercurial uses similar commit messages
to git. ;)
2012-11-07 12:40:49 -05:00
Ian Cordasco
d126c3503e Fixes #20. 2012-11-07 12:20:05 -05:00
Ian Cordasco
5b6b4cd1e4 Fixes #12. Not important but might as well. 2012-11-06 17:46:51 -05:00
Ian Cordasco
a08b0387e5 Should have included @phd's name in CONTRIBUTORS.txt 2012-11-06 17:25:40 -05:00
Ian Cordasco
297a566b46 Incorporate @phd's patch. 2012-11-06 16:24:14 -05:00
Tarek Ziade
c89ac53cfb fixed a missing manifest file 2012-11-05 22:26:28 +01:00
Tarek Ziade
792add28c2 style 2012-10-17 10:20:45 +02:00
Tarek Ziade
00696f120e init pep8 - fixes #32 2012-10-17 10:20:21 +02:00
Tarek Ziade
373a810bab added LICENCE to MANIFEST 2012-10-13 15:22:32 +01:00
Tarek Ziade
c33d0704e3 starting 1.6 2012-10-13 15:14:58 +01:00
Tarek Ziade
ea2cc005f8 Added tag 1.5 for changeset ff671fabec71 2012-10-13 15:13:20 +01:00
Tarek Ziade
2f396e061a prep for 1.5 2012-10-13 15:13:15 +01:00
mrlabbe
164a32126c Merged changes from origin 2012-10-03 07:38:20 -04:00
mrlabbe
557feff3eb add cmd script only on windows (as per issue #22 specification) 2012-09-26 08:06:25 -04:00
Peter Teichman
6a13c46227 Add Peter Teichman to CONTRIBUTORS.txt 2012-09-17 19:07:05 -04:00
Peter Teichman
3bd3c01e35 Remove the now-unused set() in _get_python_files
This was left over from a previous patch and unused after
adding the 'checked' set() to Flake8Command.run()
2012-09-17 07:32:11 -04:00
Peter Teichman
4a7b381fc0 Merge from the flake8 trunk 2012-09-15 13:52:37 -04:00
mrlabbe
bb3dcbd321 Add entry_points only with setuptools and command only w/o setuptools 2012-09-14 08:45:48 -04:00
Peter Teichman
c6ac38cd70 Incorporate patch review on Flake8Command
* add a note about the setuptools command to README
* don't install the Flake8Command entry point without setuptools
* fix a bug in Flake8Command that might cause double checking
  of files in 'packages'
2012-09-12 18:44:24 -04:00
Tarek Ziadé
ea52243634 Merged in magopian/flake8/test-suite-in-setup-py (pull request #23) 2012-09-12 12:26:34 +02:00
Mathieu Agopian
7be297cd1e test_suite and tests_require only available when using setuptools 2012-09-12 11:39:36 +02:00
Tarek Ziadé
0d29a4b02a Merged in huhao/flake8 (pull request #25) 2012-09-12 10:03:51 +02:00
Tarek Ziadé
35c2d8b3ae Merged in harobed/flake8 (pull request #20) 2012-09-12 09:55:21 +02:00
onlytiancai
ccc7acc62e 1. mccabe.py support # NOQA 2. run.py support ignore some errors 3. run.py add max_line_length default value 2012-09-12 11:03:20 +08:00
Peter Teichman
2e04e30d51 add Flake8Command, a setuptools command
This runs flake8 with the default options on all Python files
referenced by a package's setup.py. It works with both
package-based and py_modules-based file lists.
2012-09-09 08:24:04 -04:00
Peter Teichman
2f9825a6af apply the pep8 default max_line_length in _PEP8Options 2012-09-09 08:20:18 -04:00
Mathieu Agopian
1492f618cb adds test_suite and tests_require in setup.py 2012-09-08 12:10:14 +02:00
mlabbe
a312a1a08f added cmd script (and scripts subfolder) 2012-09-05 17:59:29 -04:00
mrlabbe
a89b840960 added entry point for flake8 command 2012-09-05 13:17:02 -04:00
Tarek Ziade
dd92d52f06 make sure mccacbe catches the syntax errors as warnings 2012-08-14 18:16:24 +02:00
Stephane Klein
0e2456fc76 Upgrave pep8.py file and try to implement : https://bitbucket.org/tarek/flake8/issue/23/use-pep8-configuration-file
There are may be some regression to fix.
2012-08-04 16:20:21 +02:00
Tarek Ziade
2c1d836b31 added David to the contribs 2012-07-27 17:42:16 +02:00
Tarek Ziade
aaa14dc4e1 fixed the stdin, thanks to zeeg 2012-07-27 11:52:37 +02:00
Tarek Ziade
c41011901f starting 1.5 2012-07-10 16:33:38 +02:00
Tarek Ziade
612a840ef7 its 0.4 2012-07-10 16:31:55 +02:00
Tarek Ziade
35aa0f2131 prepping 0.4 2012-07-10 16:31:06 +02:00
Tarek Ziade
ecc81ce46d removed a couple of slashes 2012-07-10 16:26:17 +02:00
Tarek Ziadé
abd1155e19 Merged in tebeka/flake8 (pull request #18) 2012-07-09 16:02:56 +02:00
Miki Tebeka
141bad1134 Use pep8 1.2 2012-06-15 17:44:07 -07:00