- 01 12月, 2015 3 次提交
-
-
由 Simon Boudrias 创作于
-
由 Anthony Sottile 创作于
Reformatted --diff-filter git argument
-
由 Corey Christous 创作于
This makes the command compatible with older versions of git.
-
- 19 11月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Fixed regex matching for django test file names
-
由 phoxelua 创作于
-
- 13 11月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Add encoding pragma hook. Resolves pre-commit/pre-commit#15
-
由 Anthony Sottile 创作于
-
- 28 10月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Show names of files containing aws credentials
-
由 Dean Wilson 创作于
-
- 18 10月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Update description about autopep8. Closes #83
-
由 Anthony Sottile 创作于
-
- 23 9月, 2015 1 次提交
-
-
由 Anthony Sottile 创作于
-
- 17 8月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Sort requirements.txt case-insensitively
-
由 Chris Kuehl 创作于
-
- 04 8月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Add a hook to verify python ast.
-
由 Anthony Sottile 创作于
-
- 02 8月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
detect_private_key: print *filenames*, not the key
-
由 Chris Kuehl 创作于
-
- 28 7月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Add .pp (Puppet manifest) to file extensions lists
-
由 Chris Kuehl 创作于
-
- 17 6月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
-
由 Anthony Sottile 创作于
AWS credential checking
-
- 13 6月, 2015 2 次提交
-
-
由 Ara Hayrabedian 创作于
-
由 Ara Hayrabedian 创作于
-
- 12 6月, 2015 4 次提交
-
-
由 Ara Hayrabedian 创作于
-
由 Ara Hayrabedian 创作于
add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing
-
由 Ara Hayrabedian 创作于
-
由 Ara Hayrabedian 创作于
ditch checkign access_key (don't consider these a secret) don't check line by line, check the whole file in bulk instead
-
- 11 6月, 2015 4 次提交
-
-
由 Anthony Sottile 创作于
Allow arbitrary binary to pass the private key hook check. Resolves #64
-
由 Anthony Sottile 创作于
-
由 Anthony Sottile 创作于
Add new hook pretty-format-json
-
由 Léo Cavaillé 创作于
This new hook allows to standardize one's JSON files (sorted key/4 spaces indent). By default it just fails if any file is not complying with the standard, but you can also pass the arg `--autofix` and the hook will pretty-format the file itself. Good in use combined with the `check-json` hook.
-
- 01 6月, 2015 1 次提交
-
-
由 Ara Hayrabedian 创作于
add aws credential checking ONLY FOR YOUR OWN credentials if they're set in a configurable credentials file (AWS CLI tools' native format)
-
- 31 5月, 2015 4 次提交
-
-
由 Anthony Sottile 创作于
-
由 Anthony Sottile 创作于
-
由 Anthony Sottile 创作于
-
由 Anthony Sottile 创作于
-
- 17 5月, 2015 1 次提交
-
-
由 Anthony Sottile 创作于
-
- 11 5月, 2015 2 次提交
-
-
由 Anthony Sottile 创作于
Implement Markdown trailing space line break preservation
-
由 Alexander Dupuy 创作于
Markdown uses two or more trailing spaces on a line to indicate a forced line break `<br/>` - these will be preserved for files with a markdown extension (default = `.md` or `.markdown`). Add `--markdown-linebreak-ext=X,Y` to add extensions (`*` matches any), and `--no-markdown-linebreak-ext` to disable this feature. If you want to set specific extension `foo` only (and not md/markdown), use `--no-markdown-linebreak-ext --markdown-linebreak-ext=foo` Tries to prevent --markdown-linebreak-ext from eating filenames as if they were extensions by rejecting any with '.' or '/' (or even Windows-style '\' or ':') Update README.md to include information on these arguments as well as arguments added to other hooks Add extensive tests using pytest.mark.parametrize test that `txt` file is not considered as 'txt' extension test that `.txt` file is not considered as 'txt' extension The latter is the (correct) behavior of os.path.splitext(), and an example of why it is better to use the libraries than to mangle strings yourself.
-