Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 972 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 972 Bytes

DEPRECATED

use https://github.com/hhatto/autopep8 directly now instead \o/


autopep8 mirror

Mirror of autopep8 package for pre-commit.

For pre-commit: see https://github.com/pre-commit/pre-commit

For autopep8: see https://github.com/hhatto/autopep8

Using autopep8 with pre-commit

Add this to your .pre-commit-config.yaml:

-   repo: https://github.com/pre-commit/mirrors-autopep8
    rev: ''  # Use the sha / tag you want to point at
    hooks:
    -   id: autopep8

overriding args

note that this repository sets args: [-i], if you are configuring autopep8 using args you'll want to include either -i (--in-place) or -d (--diff). it is usually better to configure autopep8 in its config file.