mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 11:16:53 +00:00
Respect autopep8 config. Resolves #38.
This commit is contained in:
parent
9f107a0327
commit
d96cef92c9
3 changed files with 25 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ import autopep8
|
|||
|
||||
def main(argv=None):
|
||||
argv = argv if argv is not None else sys.argv[1:]
|
||||
args = autopep8.parse_args(argv)
|
||||
args = autopep8.parse_args(argv, apply_config=True)
|
||||
|
||||
retv = 0
|
||||
for filename in args.files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue