Skip to content

Commit

Permalink
Install black only for python 3.8 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
merger-application[bot] committed Jul 13, 2023
2 parents d13424d + 1ec6bf4 commit 68b87b1
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 45 deletions.
5 changes: 1 addition & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ pycodestyle = "==2.10.0"
pydocstyle = {version = "==6.3.0", extras = ["toml"]}
restructuredtext-lint = "==1.4.0"
mypy = "==1.4.1"
black = "==23.3.0"
black = {version = "==23.7.0", markers="python_version >= '3.8'"}
pygments = "==2.15.1"
tbump = "==6.10.0"

[requires]
python_version = "3.11"
74 changes: 35 additions & 39 deletions Pipfile.lock

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

1 change: 1 addition & 0 deletions newsfragments/664.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Do not install black on python older than 3.8
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ showcontent = true

[tool.towncrier.fragment.misc]
name = "Miscellaneus"
showcontent = true
showcontent = false

[tool.pytest.ini_options]
filterwarnings = "error"
Expand Down Expand Up @@ -142,4 +142,4 @@ cmd = "pipenv run towncrier build --version {new_version} --yes"
# have been pushed:
# [[tool.tbump.after_push]]
# name = "publish"
# cmd = "./publish.sh"
# cmd = "./publish.sh"

0 comments on commit 68b87b1

Please sign in to comment.