From 44fbe61e3dd8832683f257e9aa494736b836d3ed Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 18 Oct 2015 12:36:14 -0700 Subject: [PATCH] Update description about autopep8. Closes #83 --- README.md | 4 ++-- hooks.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 65e8617..8148cee 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/hooks.yaml b/hooks.yaml index 6286b9b..7817d1b 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -1,6 +1,6 @@ - id: autopep8-wrapper name: autopep8 wrapper - description: "Runs autopep8 over python source. (You'll want args: [-i] when using this hook, see .pre-commit-config.yaml for an example.)" + description: "Runs autopep8 over python source. If you configure additional arguments you'll want to at least include -i." entry: autopep8-wrapper language: python files: \.py$