mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
Update description about autopep8. Closes #83
This commit is contained in:
parent
f82fb149af
commit
44fbe61e3d
2 changed files with 3 additions and 3 deletions
|
|
@ -24,8 +24,8 @@ Add this to your `.pre-commit-config.yaml`
|
|||
### Hooks available
|
||||
|
||||
- `autopep8-wrapper` - Runs autopep8 over python source.
|
||||
- Ignore PEP 8 violation types with `args: ['-i', '--ignore=E000,...']`,
|
||||
see `.pre-commit-config.yaml` in this repository for an example.
|
||||
- Ignore PEP 8 violation types with `args: ['-i', '--ignore=E000,...']` or
|
||||
through configuration of the `[pep8]` section in setup.cfg / tox.ini.
|
||||
- `check-added-large-files` - Prevent giant files from being committed.
|
||||
- Specify what is "too large" with `args: ['--maxkb=123']` (default=500kB).
|
||||
- `check-ast` - Simply check whether files parse as valid python.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue