Merge pull request #23 from kentwills/autopep8_clarification

change wording so that people know this hook needs arguments.
This commit is contained in:
Anthony Sottile 2015-01-12 11:17:04 -08:00
commit fdfc499e48
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ Add this to your `.pre-commit-config.yaml`
### Hooks available
- `autopep8-wrapper` - Runs autopep8 over python source.
- `autopep8-wrapper` - Runs autopep8 over python source. (You'll want `args: ['-i]` when using this hook, see `.pre-commit-config.yaml` for an example.)
- `check-added-large-files` - Prevent giant files from being committed.
- `check-docstring-first` - Checks a common error of defining a docstring after code.
- `check-json` - Attempts to load all json files to verify syntax.

View file

@ -1,6 +1,6 @@
- id: autopep8-wrapper
name: autopep8 wrapper
description: Runs autopep8 over python source.
description: "Runs autopep8 over python source. (You'll want args: [-i] when using this hook, see .pre-commit-config.yaml for an example.)"
entry: autopep8-wrapper
language: python
files: \.py$