File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 rev : 20.8b1
44 hooks :
55 - id : black
6-
7- - repo : https://github.com/asottile/blacken-docs
8- rev : v1.9.1
9- hooks :
10- - id : blacken-docs
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=42 " , " wheel" , " setuptools_scm[toml]>=3.4.1" ]
2+ requires = [" setuptools>=56 " , " wheel" , " setuptools_scm[toml]>=3.4.1" ]
33build-backend = " setuptools.build_meta"
44
55[tool .black ]
Original file line number Diff line number Diff line change 11[metadata]
2- license_files =
3- LICENSE
42name = path
53author = Jason Orendorff
64author_email =jason.orendorff@gmail.com
@@ -37,13 +35,13 @@ testing =
3735 pytest >= 4.6
3836 pytest-checkdocs >= 2.4
3937 pytest-flake8
40- # python_implementation: workaround for jaraco/skeleton#22
41- # python_version: workaround for python/typed_ast#156
42- pytest-black >= 0.3.7 ; python_implementation != "PyPy" and python_version < "3.10 "
38+ pytest-black >= 0.3.7 ; \
39+ # workaround for jaraco/skeleton#22
40+ python_implementation != " PyPy"
4341 pytest-cov
44- # python_implementation: workaround for jaraco/skeleton#22
45- # python_version: workaround for python/typed_ast#156
46- pytest-mypy ; python_implementation != "PyPy" and python_version < "3.10 "
42+ pytest-mypy ; \
43+ # workaround for jaraco/skeleton#22
44+ python_implementation != " PyPy"
4745 pytest-enabler >= 1.0.1
4846
4947 # local
Original file line number Diff line number Diff line change @@ -26,15 +26,14 @@ skip_install = True
2626deps =
2727 build
2828 twine>=3
29- path
3029 jaraco.develop>=7.1
3130passenv =
3231 TWINE_PASSWORD
3332 GITHUB_TOKEN
3433setenv =
3534 TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
3635commands =
37- python -c " import path; path.Path ('dist').rmtree_p( )"
36+ python -c " import shutil; shutil.rmtree ('dist', ignore_errors=True )"
3837 python -m build
3938 python -m twine upload dist/*
4039 python -m jaraco.develop.create-github-release
You can’t perform that action at this time.
0 commit comments