Skip to content

Commit

Permalink
Add Black as a development dependency
Browse files Browse the repository at this point in the history
Added Black to the development packages list. It is added with the
specific version, so it is installed even though it is a pre-release.
Created a pyproject.toml configuration file for it.
  • Loading branch information
Glutexo authored and dehort committed Jul 29, 2019
1 parent fea3822 commit 4cdeeef
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 33 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ flake8 = "*"
pyupgrade = "*"
reorder-python-imports = "*"
pre-commit-hooks = "*"
black = "==19.3b0"

[requires]
python_version = "3.6"
104 changes: 71 additions & 33 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.black]
line-length = 119
target-version = ["py36"]

0 comments on commit 4cdeeef

Please sign in to comment.