Commit graph

585 commits

Author SHA1 Message Date
Ian Cordasco
752790e4ea Merge branch 'git_hook-file_pattern_match' into 'master'
Git hook file pattern match

I found that with the git hook installed, flake8 was failing to check some files. Upon examination, I found that the hook is coded to only consider files ending in '.py'. This works out to be an override of the expected behavior, which is to honor the "filename" option in tox.ini.

See merge request !1
2014-10-03 14:01:18 +00:00
Chris Buccella
c0dd7c870c Honor file pattern matching for git hook
In a config file, a user can use the "filename" option to specify
a pattern for matching filenames. The git hook effectively ignores
this and only checks files ending in '.py'
2014-09-23 00:54:39 -04:00
Ian Cordasco
876e283d38 Refactor Lukasz's work 2014-09-13 12:38:25 -05:00
Joseph Kahn
51955f9664 got rid of extra line added by accident. 2014-09-13 12:13:04 -05:00
Joseph Kahn
a4017bb090 Added my own extensions to the known extensions list, shameless self promotion. 2014-09-13 12:12:59 -05:00
Lukasz Dobrzanski
e6e655536c Applied icordasc PR comments 2014-09-13 12:12:23 -05:00
Lukasz Dobrzanski
cbba9faf9e Fix SIGINT when running on multiprocessing
^C was making the script hang (few scenarios possible).
This patch makes sure that the queue operations won't block forever.

Potentially related to #167
2014-09-13 12:11:32 -05:00
Ian Cordasco
e6cb9528d3 Disable multiprocessing when using stdin
Fixes #165
2014-09-12 22:36:37 -05:00
Ian Cordasco
79c80c3181 Move fix for #164 2014-09-12 16:50:54 -05:00
Ian Cordasco
552e298a2c Disable --jobs on Windows
Fixes #164
2014-09-12 16:49:34 -05:00
Ian Cordasco
34a2c12be8 Disable multiprocessing when using --diff
Fixed #166
2014-09-11 20:14:07 -05:00
Ian Cordasco
475b5a386e Merged in lukmdo/flake8/switch_use_unitest (pull request #48)
Use unittest.mock if available
2014-09-09 20:32:01 -05:00
Lukasz Dobrzanski
c3d7e68a2b Use unittest.mock if available
Use unittest.mock https://docs.python.org/3/library/unitetst.mock.html
starting from >= Python 3.3
2014-09-10 01:15:01 +01:00
Ian Cordasco
02b955453e Release v2.2.3 2014-08-25 19:03:13 -05:00
Ian Cordasco
568d7751eb Release v2.2.3 2014-08-25 19:02:46 -05:00
Ian Cordasco
dec58991d6 Actually enable auto job configuration by default 2014-08-25 19:01:40 -05:00
Ian Cordasco
4053bb842a Release v2.2.2 2014-07-04 21:53:14 -05:00
Ian Cordasco
2a3ad47563 Removed tag 2.2.2 2014-07-04 21:52:54 -05:00
Ian Cordasco
3d83d1efee Merge bitbucket remote 2014-07-04 21:52:45 -05:00
Ian Cordasco
3748048f75 Release v2.2.2 2014-07-04 21:51:37 -05:00
Ian Cordasco
397bcc4c96 Bump flake8 version number 2014-07-04 21:51:34 -05:00
Ian Cordasco
62ff350d1e Update CHANGES for 2.2.2 2014-07-04 21:50:41 -05:00
Ian Cordasco
88f9059782 Merged in flox/flake8/mp-win32 (pull request #45)
Allow to configure multiple jobs on Windows; issues #153 and #154. Closes #153, #154, #156
2014-07-02 09:46:14 -05:00
Florent Xicluna
976d3374b9 Allow to configure multiple jobs on Windows; issues #153 and #154 2014-07-01 00:46:54 +02:00
Ian Cordasco
146bd51404 Added tag 2.2.1 for changeset fabf3cf87eaf 2014-06-30 08:49:57 -05:00
Ian Cordasco
8a0ac48df6 Prepare for v2.2.1 2014-06-30 08:49:44 -05:00
Ian Cordasco
a0e3f364b1 Merge Florent's multiprocessing work over Joe's 2014-06-27 07:57:45 -05:00
Ian Cordasco
8a18ab3f1d Release v2.2.0 2014-06-22 21:20:59 -05:00
Ian Cordasco
54b0030531 Bump information necessary to release v2.2.0 2014-06-22 21:20:23 -05:00
Martijn Faassen
e12caff58a Fix typo in command. 2014-06-18 15:37:21 +02:00
Martijn Faassen
c208ce9378 Update this to document --install-hooks instead of distracting red herring
of the old way to do this.
2014-06-18 15:33:19 +02:00
Joe Gordon
549cb7ff7d NotImplimentedError => NotImplementedError 2014-05-27 23:21:57 +00:00
Florent Xicluna
573a217d6c Fix the test suite 2014-05-23 15:55:59 +02:00
Florent Xicluna
f40cf8e030 Accept 'auto' for --jobs, and default to cpu_count(); issue #151 2014-05-23 15:43:52 +02:00
Joe Gordon
1afa025166 engine.py edited online with Bitbucket 2014-05-21 01:40:21 +00:00
Joe Gordon
b8539760f6 Default jobs to cpu_count; closes #151
Instead of defaulting jobs to 1, default to cpu_count so everyone can take
advantage of concurrency by default. This means most users will have one
less configuration option that needs to be set.
2014-05-15 21:30:57 -07:00
Florent Xicluna
ed6d0398bc Add support for 'python -m flake8' on Python >= 2.7; issue #85 2014-05-05 22:08:03 +02:00
Florent Xicluna
6c395673e2 Do not overwrite Git pre-commit hook; closes #149 2014-05-05 21:34:21 +02:00
Florent Xicluna
d67491a104 Use write-only mode 'w' instead of 'w+' for writing hooks 2014-05-05 21:26:37 +02:00
Florent Xicluna
1ea9f12b18 Assume UTF-8 when decoding hg or git output; closes #148 2014-05-05 21:01:05 +02:00
Florent Xicluna
a3ecfbaaf8 Avoid an "imported but unused" warning 2014-04-27 00:44:42 +02:00
Florent Xicluna
ee00aa1d66 Command "setup.py flake8" should check setup.py too 2014-04-27 00:42:32 +02:00
Florent Xicluna
cdeb482a68 Add setup.cfg to support the wheel format 2014-04-27 00:27:56 +02:00
Florent Xicluna
94b59d327e New option --jobs to spawn multiple processes in parallel; closes #146 2014-04-27 00:22:50 +02:00
Florent Xicluna
0d15687282 Mismatch with pep8 documentation 2014-04-26 23:41:28 +02:00
Florent Xicluna
b89fc0dae8 Fix the errors reported by flake8 2014-04-26 23:40:23 +02:00
Florent Xicluna
2255afcb77 Add to the tox.ini tests 2014-04-26 23:40:02 +02:00
Florent Xicluna
eb6025ebff Fix the setuptools command to read the project configuration; closes #144 and #145 2014-04-26 23:30:32 +02:00
Florent Xicluna
5772f274aa Remove obsolete compatibility code 2014-04-26 23:26:31 +02:00
Florent Xicluna
7b36756428 Fix test on Python 2.5 2014-03-31 00:30:38 +02:00