Skip to content

Commit a2aa002

Browse files
committed
2 parents 8aea87c + 719a7ce commit a2aa002

4 files changed

Lines changed: 8 additions & 16 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,3 @@ repos:
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.black]

setup.cfg

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[metadata]
2-
license_files =
3-
LICENSE
42
name = path
53
author = Jason Orendorff
64
author_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

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ skip_install = True
2626
deps =
2727
build
2828
twine>=3
29-
path
3029
jaraco.develop>=7.1
3130
passenv =
3231
TWINE_PASSWORD
3332
GITHUB_TOKEN
3433
setenv =
3534
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
3635
commands =
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

0 commit comments

Comments
 (0)