Skip to content

Commit

Permalink
Update language-version => language_version (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile authored and ambv committed Apr 4, 2018
1 parent 6dd16bf commit 12a095f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,13 @@ repos:
hooks:
- id: black
args: [--line-length=88, --safe]
python-version: python3.6
python_version: python3.6
```
Then run `pre-commit install` and you're ready to go.

`args` in the above config is optional but shows you how you can change
the line length if you really need to. If you're already using Python
3.7, switch the `python-version` accordingly. Finally, `stable` is a tag
3.7, switch the `python_version` accordingly. Finally, `stable` is a tag
that is pinned to the latest release on PyPI. If you'd rather run on
master, this is also an option.

Expand Down

0 comments on commit 12a095f

Please sign in to comment.