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

Mirror of the autopep8 package for pre-commit

License

Notifications You must be signed in to change notification settings

pre-commit/mirrors-autopep8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.