8000 Merge branch '2020-handoff' of https://github.com/jaraco/skeleton · pytest-dev/pytest-runner@ea86b0d · GitHub
[go: up one dir, main page]

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

Commit ea86b0d

Browse files
committed
Merge branch '2020-handoff' of https://github.com/jaraco/skeleton
2 parents 0880a98 + a11446d commit ea86b0d

16 files changed

+202
-124
lines changed

.github/workflows/automerge.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: automerge
2+
on:
3+
pull_request:
4+
types:
5+
- labeled
6+
- unlabeled
7+
- synchronize
8+
- opened
9+
- edited
10+
- ready_for_review
11+
- reopened
12+
- unlocked
13+
pull_request_review:
14+
types:
15+
- submitted
16+
check_suite:
17+
types:
18+
- completed
19+
status: {}
20+
jobs:
21+
automerge:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: automerge
25+
uses: "pascalgn/automerge-action@v0.12.0"
26+
env:
27+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/main.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Automated Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
matrix:
9+
python: [3.6, 3.8, 3.9]
10+
platform: [ubuntu-latest, macos-latest, windows-latest]
11+
runs-on: ${{ matrix.platform }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python }}
18+
- name: Install tox
19+
run: |
20+
python -m pip install tox
21+
- name: Run tests
22+
run: tox
23+
24+
release:
25+
needs: test
26+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Setup Python
32+
uses: actions/setup-python@v2
33+
with:
34+
python-version: 3.9
35+
- name: Install tox
36+
run: |
37+
python -m pip install tox
38+
- name: Release
39+
run: tox -e release
40+
env:
41+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
repos:
2-
- repo: https://github.com/ambv/black
3-
rev: 18.9b0
2+
- repo: https://github.com/psf/black
3+
rev: stable
44
hooks:
55
- id: black
6+
7+
- repo: https://github.com/asottile/blacken-docs
8+
rev: v1.8.0
9+
hooks:
10+
- id: blacken-docs

.readthedocs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
version: 2
12
python:
2-
version: 3
3-
extra_requirements:
4-
- docs
5-
pip_install: true
3+
install:
4+
- path: .
5+
extra_requirements:
6+
- docs

.travis.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

LICENSE

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
Copyright Jason R. Coombs
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, inc F438 luding without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to
5+
deal in the Software without restriction, including without limitation the
6+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7+
sell copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
49

5-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
612

7-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19+
IN THE SOFTWARE.

README.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
.. image:: https://img.shields.io/pypi/v/pytest-runner.svg
2-
:target: https://pypi.org/project/pytest-runner
2+
:target: `PyPI link`_
33

44
.. image:: https://img.shields.io/pypi/pyversions/pytest-runner.svg
5+
:target: `PyPI link`_
56

6-
.. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
7-
:target: https://travis-ci.org/pytest-dev/pytest-runner
7+
.. _PyPI link: https://pypi.org/project/pytest-runner
8+
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
812

913
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
10-
:target: https://github.com/ambv/black
14+
:target: https://github.com/psf/black
1115
:alt: Code style: Black
1216

13-
.. .. image:: https://img.shields.io/appveyor/ci/pytest-dev/pytest-runner/master.svg
14-
.. :target: https://ci.appveyor.com/project/pytest-dev/pytest-runner/branch/master
15-
16-
.. .. image:: https://readthedocs.org/projects/pytest-runner/badge/?version=latest
17-
.. :target: https://pytest-runner.readthedocs.io/en/latest/?badge=latest
17+
.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
18+
.. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
1819
1920
.. image:: https://tidelift.com/badges/package/pypi/pytest-runner
2021
:target: https://tidelift.com/subscription/pkg/pypi-pytest-runner?utm_source=pypi-pytest-runner&utm_medium=readme

appveyor.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
url='{package_url}/issues/{issue}',
1515
),
1616
dict(
17-
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
17+
pattern=r'(?m:^((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n)',
1818
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
1919
),
2020
dict(

mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[mypy]
2+
ignore_missing_imports = True

0 commit comments

Comments
 (0)
0