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

update yapf to version 0.16.0 #5

Closed

Conversation

Govinda-Fichtner
Copy link

As there is a more recent version of yapf available we can update now.

@asottile
Copy link
Member

Another neat feature that was added in pre-commit 0.13 is the ability to replace these mirror repositories with local hooks. We haven't quite decided whether we should deprecate these mirror repositories or not.

The "local" hooks version of yapf would look something like this:

-   repo: local
    hooks:
    -   id: yapf
        name: yapf
        entry: yapf -i
        language: python
        additional_dependencies: ['yapf==0.16.0']
        files: '\.py$'

I'll run the mirroring upgrade script and push that. Thanks for the PR!

@asottile asottile closed this Feb 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants