Skip to content

Commit

Permalink
Add config for black (target-version) (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Mar 7, 2020
2 parents ae463fd + 4d63f6f commit 69919e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: 19.10b0
hooks:
- id: black
args: [--safe, --quiet, --target-version, py35]
args: [--safe, --quiet]
- repo: https://github.com/asottile/blacken-docs
rev: v1.0.0
hooks:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ template = "changelog/_template.rst"
directory = "trivial"
name = "Trivial/Internal Changes"
showcontent = true

[tool.black]
target-version = ['py35']

0 comments on commit 69919e8

Please sign in to comment.