Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit fd08292

Browse files
committed
2 parents ea86b0d + 51298a2 commit fd08292

File tree

9 files changed

+32
-26
lines changed

9 files changed

+32
-26
lines changed

.flake8

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[flake8]
22
max-line-length = 88
3-
ignore =
4-
# W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
5-
W503
6-
# W504 has issues https://github.com/OCA/maintainer-quality-tools/issues/545
7-
W504
3+
4+
# jaraco/skeleton#34
5+
max-complexity = 10
6+
7+
extend-ignore =
88
# Black creates whitespace before colon
99
E203

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Automated Tests
1+
name: tests
22

33
on: [push, pull_request]
44

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: stable
3+
rev: 20.8b1
44
hooks:
55
- id: black
66

77
- repo: https://github.com/asottile/blacken-docs
8-
rev: v1.8.0
8+
rev: v1.9.1
99
hooks:
1010
- id: blacken-docs

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
.. _PyPI link: https://pypi.org/project/pytest-runner
88

9-
.. image:: https://github.com/jaraco/pytest-runner/workflows/Automated%20Tests/badge.svg
10-
:target: https://github.com/jaraco/pytest-runner/actions?query=workflow%3A%22Automated+Tests%22
11-
:alt: Automated Tests
9+
.. image:: https://github.com/jaraco/pytest-runner/workflows/tests/badge.svg
10+
:target: https://github.com/jaraco/pytest-runner/actions?query=workflow%3A%22tests%22
11+
:alt: tests
1212

1313
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
1414
:target: https://github.com/psf/black

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Welcome to pytest-runner documentation!
2-
=======================================
1+
Welcome to |project| documentation!
2+
===================================
33

44
.. toctree::
55
:maxdepth: 1

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ skip-string-normalization = true
77

88
[tool.setuptools_scm]
99

10-
# jaraco/skeleton#22
11-
[tool.jaraco.pytest.plugins.black]
10+
[pytest.enabler.black]
1211
addopts = "--black"
1312

14-
# jaraco/skeleton#22
15-
[tool.jaraco.pytest.plugins.mypy]
13+
[pytest.enabler.mypy]
1614
addopts = "--mypy"
1715

18-
[tool.jaraco.pytest.plugins.flake8]
16+
[pytest.enabler.flake8]
1917
addopts = "--flake8"
2018

21-
[tool.jaraco.pytest.plugins.cov]
19+
[pytest.enabler.cov]
2220
addopts = "--cov"

setup.cfg

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[metadata]
2-
license_file = LICENSE
2+
license_files =
3+
LICENSE
34
name = pytest-runner
45
author = Jason R. Coombs
56
author_email = [email protected]
@@ -15,14 +16,20 @@ classifiers =
1516
Framework :: Pytest
1617

1718
[options]
18-
packages = find:
19+
packages = find_namespace:
1920
py_modules = ptr
2021
include_package_data = true
2122
python_requires = >=3.6
2223
install_requires =
2324
# setuptools 27.3 is required at run time
2425
setup_requires = setuptools_scm[toml] >= 3.4.1
2526

27+
[options.packages.find]
28+
exclude =
29+
build*
30+
docs*
31+
tests*
32+
2633
[options.extras_require]
2734
testing =
2835
# upstream
@@ -32,16 +39,15 @@ testing =
3239
pytest-black >= 0.3.7; python_implementation != "PyPy"
3340
pytest-cov
3441
pytest-mypy; python_implementation != "PyPy"
35-
# jaraco/skeleton#22
36-
jaraco.test >= 3.2.0
42+
pytest-enabler
3743

3844
# local
3945
pytest-virtualenv
4046

4147
docs =
4248
# upstream
4349
sphinx
44-
jaraco.packaging >= 3.2
50+
jaraco.packaging >= 8.2
4551
rst.linker >= 1.9
4652

4753
# local

skeleton.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ Features include:
138138
- test against multiple Python versions
139139
- run on late (and updated) platform versions
140140
- automated releases of tagged commits
141+
- [automatic merging of PRs](https://github.com/marketplace/actions/merge-pull-requests) (requires [protecting branches with required status checks](https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-required-status-checks), [not possible through API](https://github.community/t/set-all-status-checks-to-be-required-as-branch-protection-using-the-github-api/119493))
142+
141143

142144
### Continuous Deployments
143145

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ commands =
2424
[testenv:release]
2525
skip_install = True
2626
deps =
27-
pep517>=0.5
27+
build
2828
twine[keyring]>=1.13
2929
path
3030
jaraco.develop>=7.1
@@ -36,7 +36,7 @@ setenv =
3636
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
3737
commands =
3838
python -c "import path; path.Path('dist').rmtree_p()"
39-
python -m pep517.build .
39+
python -m build
4040
python -m twine upload dist/*
4141
python -m jaraco.develop.create-github-release
4242
python -m jaraco.tidelift.publish-release-notes

0 commit comments

Comments
 (0)