Ian Cordasco
47d2a9ea96
Release v2.1.0
2013-10-26 15:23:55 -05:00
Ian Cordasco
91c67ab7fe
Changes for 2.1.0
2013-10-26 15:23:24 -05:00
Florian Rathgeber
b4d786a393
Git and Mercurial hooks respect FLAKE8_LAZY
2013-10-26 14:06:10 -05:00
Florian Rathgeber
016ec97514
Git and Mercurial hooks respect FLAKE8_IGNORE
2013-10-26 14:04:44 -05:00
Florian Rathgeber
ac55c9d419
Git hook respects local configuration files
...
If none of the Git hook default parameters are overridden, do not
pass them in to the StyleGuide to not override the local
configuration.
2013-10-26 13:58:37 -05:00
Florian Rathgeber
fafa844dce
Bugfix: get the parser if no vcs found in install_hook
2013-09-14 16:53:39 +01:00
Ian Cordasco
e761600ca5
Re-add mock since I forgot it was actively being used
2013-10-12 21:29:19 -05:00
Ian Cordasco
d7ee1f9152
Let's actually try out drone.io
2013-10-12 21:27:02 -05:00
Tobias Megies
d8f2bd92b8
revert checking for string and just pass a string to run() instead of a list
2013-10-10 09:16:28 +02:00
Tobias Megies
b98d036e06
bugfix: shift a line into loop
2013-10-10 09:00:42 +02:00
Tobias Megies
06256daf3a
remove encoding/decoding of staged files
2013-10-10 09:00:06 +02:00
Tobias Megies
b8bd62dbc2
git hook: try to encode/decode with correct encoding (try to detect from file header)
2013-10-09 21:27:01 +02:00
Tobias Megies
74c6958e57
make git_hook check staged versions of files instead of local version
...
copies all staged versions of files to check in a temporary folder and runs
checks on this folder.
2013-10-08 12:35:58 +02:00
Ian Cordasco
762bb68968
Ignore .tox directories by default
2013-10-05 08:26:15 -05:00
Ian Cordasco
ac7301c737
Merge default from remote
2013-08-03 16:32:46 -05:00
Ian Cordasco
1d665700e5
These should have been committed over a week ago.
2013-07-27 21:48:36 -05:00
Laurent Bachelier
d9fe125957
Fix hook file permissions
...
On my system (Python 2.7), I would end up with "--wxr-x--T".
This solution should work everywhere.
2013-07-14 13:15:51 +02:00
Ian Cordasco
d3b8f9a284
A slow start towards rewriting the tests
2013-07-04 23:41:46 -04:00
Ian Cordasco
1e59072600
Start new tests
...
run_tests will collect and run the tests on python 2.6+ (need to test 2.5)
without nose.
2013-07-04 13:47:01 -04:00
Ian Cordasco
3fbfd0b2d7
Remove broken and useless tests. Update LICENSE
...
- Added myself to the LICENSE
2013-07-04 13:46:28 -04:00
Florent Xicluna
ec25ce4a4a
Report the column number for PyFlakes errors; issue #90
2013-07-04 17:40:20 +02:00
Florent Xicluna
da663a77ca
Really upgrade dependencies
2013-07-04 17:39:48 +02:00
Ian Cordasco
a3b4cd6bed
Upgrade dependencies.
2013-07-04 11:29:50 -04:00
Ian Cordasco
d3faf6afab
Fix git hook on python 3
...
We were expecting strings not bytearrays and so we'll make sure we get
strings. And yes, unicode strings work just fine with this on python 2.
2013-07-04 11:29:12 -04:00
Ian Cordasco
e2eb1308b1
Minor improvement to docs
2013-07-03 23:40:50 -04:00
Tarek Ziade
26283741b9
we want those links in the doc
2013-06-19 11:48:22 +02:00
Ian Cordasco
ca882263f8
Update this to deal with Marc and Bruno's names
...
Strings are hard, let's introduce hacks.
2013-05-21 23:37:35 -04:00
Austin Morton
98dbd1606a
Add option parsing to setuptools integration
2013-04-17 10:33:08 -04:00
Marc Schlaich
c6623b37d1
Upgrade mccabe.
2013-04-03 16:17:02 +03:00
Rob Hudson
0f90a8aca5
Update hooks.py
...
Added --diff-filter to ignore deleted files.
2013-04-02 15:41:43 -07:00
Ian Cordasco
57417b435a
Merged in develop (pull request #35 )
...
Fix mercurial hook, issue #88
2013-04-01 09:50:13 -04:00
Ian Cordasco
d6c73b454b
The implementation isn't all that important.
...
But when we can display it, we may as well, otherwise there's no point in
displaying it.
2013-03-30 11:35:07 -04:00
Florent Xicluna
06db4e10e5
Fix for Python 2.5 compatibility; issue #98 .
2013-03-30 16:25:50 +01:00
Ian Cordasco
232fcb7c3a
Fix recursive-include pattern in MANIFEST.in
2013-03-29 19:19:21 -04:00
Sébastien CHAZALLET
d1937c946b
Simplier correction
2013-03-29 11:42:11 +01:00
Sébastien CHAZALLET
6f15c265cf
check_code works now as check_file
2013-03-29 10:43:32 +01:00
Ian Cordasco
1acc0509ab
Document known extensions
2013-03-27 10:24:12 -04:00
Ian Cordasco
490b46c7ab
Yay I can't type any more
2013-03-24 16:50:18 -04:00
Ian Cordasco
f333b22ba6
Silly python 2.5 binary is for kids
2013-03-24 16:40:20 -04:00
Ian Cordasco
d29f822b10
Fix #83 (bitbucket)
...
Tarek had explained to me how important adding specific pins were for
versioning. I forgot to fix this prior to now.
2013-03-24 16:33:48 -04:00
Ian Cordasco
4efd19ce09
Fix #91 (bitbucket)
...
Non python files were being included in the git hook. Also, I realized that
with --install-hook on git projects, the file was not readable to the user.
Using binary helps clarify the use of chmod since I had erroneously used the
744 like the commandline does.
2013-03-24 15:59:09 -04:00
Ian Cordasco
8935e0f5c1
Update the README to include the mailing list
2013-03-21 11:26:15 -04:00
Florent Xicluna
53f907b1d2
Fix mercurial hook, issue #88
2013-02-26 18:11:20 +01:00
Ian Cordasco
9844142528
Update the VCS docs
...
Also, update the git_hook auto-installer text.
Fixes #87 on BitBucket
2013-02-26 11:39:17 -05:00
Ian Cordasco
ea1c29ca2e
Fixes #86 on bitbucket
...
Create hgrc if it doesn't exist.
2013-02-25 22:50:57 -05:00
Ian Cordasco
eb327cafb1
Remove flake8/flake8
2013-02-25 21:42:35 -05:00
Ian Cordasco
492b30ded2
Merge develop because we need unified history
2013-02-25 18:04:13 -05:00
Ian Cordasco
4d0861dac4
Fix the develop branch as well.
2013-02-25 18:03:19 -05:00
Ian Cordasco
7220412c46
Merge the other head? I hope.
2013-02-25 18:02:13 -05:00
Ian Cordasco
cec066a85c
Merge the pull requests and Florent's changes.
...
Boy will this history look down right horrible.
2013-02-25 17:55:10 -05:00