Vinay Karanam
c58ae08fed
requirements fixer output is similar to pip freeze
2016-07-03 04:10:20 +05:30
Anthony Sottile
493665a5fc
Merge pull request #126 from sanmai-NL/enhance_file_extnsn_pttrns_trlng_whtspc_fxr
...
Add file patterns for trailing whitespace fixer
2016-06-27 11:28:44 -07:00
Sander Maijers
8a1ff1d39e
Add file patterns for trailing whitespace fixer
...
* Add extensions for AsciiDoctor, C, C++, OCaml, R, Rust.
* Reorder alphabetically.
2016-06-27 20:20:20 +02:00
Anthony Sottile
144c3857cd
Merge pull request #123 from Oscar-Garcia/patch-1
...
Update debug_statement_hook.py
2016-06-20 06:42:50 -07:00
Oscar-Garcia
ea320d7463
Update debug_statement_hook.py
...
Adds celery rdb as debugger: http://docs.celeryproject.org/en/latest/tutorials/debugging.html
2016-06-20 09:41:22 +02:00
Anthony Sottile
6dfcb89af3
Merge pull request #122 from sanmai-NL/JSON_arbitrary_indentation_separator
...
Fix exception raising logic to match validation issues
2016-06-13 08:50:53 -07:00
Sander Maijers
abaf0d12de
Fix exc. raising logic to match validation issues
2016-06-13 11:34:55 +02:00
Anthony Sottile
cf3aabe9b1
Merge pull request #120 from sanmai-NL/JSON_arbitrary_indentation_separator
...
Refactor legacy `indent: int` -> `indent: str`
2016-06-12 10:25:59 -07:00
Sander Maijers
a5628863e8
Refactor legacy `indent: int` -> `indent: str`
...
The type of `indent` parameter is preferably `str`. See
http://simplejson.readthedocs.io/en/latest/index.html?highlight=dump#simplejson.dump
. This change allows to specify TABs as indentation delimiter to
`pretty_format_json`. Add input validator/converter for backward compat.
2016-06-12 19:19:07 +02:00
Anthony Sottile
49a26cbfb6
Merge pull request #121 from sanmai-NL/Tox_fix_autosigning_upon_git_commit
...
Increase robustness of tests involving `git`
2016-06-12 10:08:00 -07:00
Sander Maijers
9e89b7616a
Increase robustness of tests involving `git`
...
1. Disable automatic `git commit` GPG-signing, since that requires interaction.
This issue was encountered in practice by me, causing spurious test failures
2. In case path operands could turn out to start with dashes, escape the
operand list with '--'.
2016-06-12 18:58:30 +02:00
Anthony Sottile
6b1aa19425
Merge pull request #117 from pre-commit/simplify_tests
...
Simplify the tests
2016-05-27 14:34:27 -07:00
Anthony Sottile
a99475afa0
Simplify the tests
2016-05-27 14:09:50 -07:00
Anthony Sottile
b64436cdda
Merge pull request #116 from pre-commit/check_merge_conflict_binary_files
...
Fix check-merge-conflict against binary files
2016-05-26 12:02:43 -07:00
Anthony Sottile
b4e29b5e63
Use newline='' to avoid automatic newline translation
2016-05-26 11:45:28 -07:00
Anthony Sottile
4a01f64c8f
Fix check-merge-conflict against binary files
2016-05-26 11:20:32 -07:00
Anthony Sottile
adbb569fe9
v0.5.1
2016-05-16 09:12:32 -07:00
Anthony Sottile
35548254ad
Merge pull request #114 from wting/wting_support_diff3_conflictstyle
...
Add diff3 conflictstyle support for git merge conflicts.
2016-04-30 21:16:00 -07:00
William Ting
c92b46587d
Add diff3 conflictstyle support for git merge conflicts.
2016-04-30 20:35:33 -07:00
Anthony Sottile
6f2b0a27e5
Merge pull request #111 from pre-commit/remove_coding_pragma
...
Add a --remove option to fix-encoding-pragma
2016-04-27 11:34:56 -07:00
Anthony Sottile
03bf17f2b0
Add a --remove option to fix-encoding-pragma
2016-04-27 11:18:14 -07:00
Anthony Sottile
17478a0a50
Style fixups
2016-04-14 08:25:52 -07:00
Anthony Sottile
ea867c2e68
Merge pull request #109 from mattclegg/no-sort-keys
...
Adding no-sort-keys to pretty_format_json
2016-04-14 08:11:26 -07:00
mattclegg
f775891717
Drop messy py26 support in favour of 100% coverage
2016-04-14 11:16:18 +01:00
mattclegg
d49f04c69e
Adjust formatting for existing `test_pretty_format_json`
2016-04-14 10:41:39 +01:00
mattclegg
bd4e37c366
Add test for '--no-sort-keys'
2016-04-14 10:41:39 +01:00
mattclegg
700b18ed0e
Use OrderedDict to preserve order
2016-04-14 10:23:42 +01:00
Anthony Sottile
ff65d01841
v0.5.0
2016-04-05 10:52:44 -07:00
Ken Struys
44e1753f98
Merge pull request #107 from pre-commit/utf8_bom
...
Forbid files with a UTF-8 BOM
2016-03-18 11:52:56 -07:00
Anthony Sottile
fe9c404019
Forbid files with a UTF-8 BOM
2016-03-18 10:59:31 -07:00
Sébastien Larivière
f769c208bc
Addding no-sort-keys to pretty_format_json, this allows to disable the sort on the keys
2016-03-12 17:04:33 -05:00
Anthony Sottile
97b88d9610
flake8 2.5.3 is broken: https://gitlab.com/pycqa/flake8/issues/119
2016-02-11 09:46:10 -08:00
Anthony Sottile
36214cb67b
Merge pull request #102 from pre-commit/improve_error_message_aws_101
...
Improve error message when credentials file is not provided
2016-02-08 17:31:33 -08:00
Anthony Sottile
d444ab821d
Improve error message when credentials file is not provided
2016-02-08 17:18:56 -08:00
Anthony Sottile
d740faeded
Typo in no cover comment
2016-02-03 11:12:51 -08:00
Anthony Sottile
64943e8641
Add metadata for check-symlinks
2016-01-15 07:47:33 -08:00
Anthony Sottile
8d80d51cad
Fix coverage on check_symlinks for windows
2016-01-15 07:41:58 -08:00
Anthony Sottile
eff3eafcbb
Merge pull request #98 from bchess/check_symlinks
...
New hook tests for broken symlinks
2016-01-15 07:38:46 -08:00
Ben Chess
ee1e98a884
Merge pull request #1 from pre-commit/asottile_check_symlinks
...
Skip the symlink tests on windows
2016-01-15 10:36:20 -05:00
Anthony Sottile
da882286e3
Skip the symlink tests on windows
2016-01-14 19:03:11 -08:00
Anthony Sottile
d466a2e52c
no cover some non-lfs lines
2016-01-14 18:57:03 -08:00
Benjamin Chess
896c0cfdc0
new hook tests for broken symlinks
2016-01-14 15:25:46 -08:00
Anthony Sottile
5edf945ca5
Merge pull request #96 from pre-commit/git_lfs
...
Teach check-large-files-added about git-lfs. Reslves #82 .
2016-01-04 14:05:19 -05:00
Anthony Sottile
3f6f23d73f
Teach check-large-files-added about git-lfs. Reslves #82 .
2015-12-28 05:38:06 -08:00
Anthony Sottile
2c62e4aafc
Merge pull request #97 from pre-commit/dont_write_files_that_arent_cleaned_up
...
Write to temp directories in such a way that files get cleaned up
2015-12-26 14:11:10 -05:00
Anthony Sottile
7376a29d69
Write to temp directories in such a way that files get cleaned up
2015-12-26 10:58:33 -08:00
Anthony Sottile
61d3e60a20
Merge pull request #95 from pre-commit/run_pre_commit_during_test
...
Run pre-commit during test
2015-12-25 12:48:48 -05:00
Anthony Sottile
3a3a7a153a
Run pre-commit during test
2015-12-25 09:42:17 -08:00
Anthony Sottile
e306ff3b7d
Merge pull request #91 from SBoudrias/patch-1
...
Fix code syntax in README
2015-12-01 16:08:52 -08:00
Simon Boudrias
3284a1aa57
Fix code syntax in README
2015-12-01 15:42:07 -08:00