mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 02:16:52 +00:00
Merge pull request #23 from kentwills/autopep8_clarification
change wording so that people know this hook needs arguments.
This commit is contained in:
commit
fdfc499e48
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue