Skip to content

Commit 0187bd8

Browse files
committedFeb 4, 2021
Initial commit.
0 parents  commit 0187bd8

33 files changed

+2063
-0
lines changed
 

‎.bumpversion.cfg

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[bumpversion]
2+
current_version = 0.0.0
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:repo_helper.yml]
7+
8+
[bumpversion:file:__pkginfo__.py]
9+
10+
[bumpversion:file:README.rst]
11+
12+
[bumpversion:file:tox_envlist/__init__.py]
13+
14+
[bumpversion:file:tox_recreate_hook/__init__.py]

‎.dependabot/config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
version: 1
4+
update_configs:
5+
- package_manager: python
6+
directory: /
7+
update_schedule: weekly
8+
default_reviewers:
9+
- domdfcoding

‎.github/ISSUE_TEMPLATE/bug_report.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
labels: bug
5+
assignees: domdfcoding
6+
7+
---
8+
9+
<!-- Have you searched for similar issues? Before submitting this issue, please check the open issues and add a note before logging a new issue.
10+
11+
PLEASE USE THE TEMPLATE BELOW TO PROVIDE INFORMATION ABOUT THE ISSUE.
12+
THE ISSUE WILL BE CLOSED IF INSUFFICIENT INFORMATION IS PROVIDED.
13+
-->
14+
15+
## Description
16+
<!--Provide a brief description of the issue-->
17+
18+
19+
## Steps to Reproduce
20+
<!--Please add a series of steps to reproduce the issue-->
21+
22+
1.
23+
2.
24+
3.
25+
26+
## Actual result:
27+
<!--Please add screenshots if needed and include the Python traceback if present-->
28+
29+
30+
## Expected result:
31+
32+
33+
## Reproduces how often:
34+
<!--[Easily reproduced/Intermittent issue/No steps to reproduce]-->
35+
36+
37+
## Version
38+
39+
* Operating System:
40+
* Python:
41+
* tox-recreate-hook:
42+
43+
## Installation source
44+
<!-- e.g. Github repository, Github Releases, PyPI/pip, Anaconda/conda -->
45+
46+
47+
## Other Additional Information:
48+
<!--Any additional information, related issues, extra QA steps, configuration or data that might be necessary to reproduce the issue-->
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
labels: "enhancement"
5+
assignees: domdfcoding
6+
7+
---
8+
9+
<!-- Have you searched for similar issues? Someone may already be working on the feature you are suggesting. Before submitting this issue, please check the open issues and add a note before logging a new issue.
10+
-->
11+
12+
13+
## Description
14+
<!--Provide a clear and concise description of what the problem is and the improvement you are suggesting-->
15+
16+
<!--Please add screenshots if needed-->
17+
18+
19+
## Version
20+
21+
* Operating System:
22+
* Python:
23+
* tox-recreate-hook:
24+
25+
26+
## Other Additional Information:
27+
<!--Any additional information, related issues, etc.-->

‎.github/auto_assign.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
addReviewers: true
4+
addAssignees: true
5+
reviewers:
6+
- domdfcoding
7+
numberOfReviewers: 0
8+
9+
# more settings at https://github.com/marketplace/actions/auto-assign-action

‎.github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
version: 2
4+
updates:
5+
- package-ecosystem: pip
6+
directory: /
7+
schedule:
8+
interval: weekly
9+
reviewers:
10+
- domdfcoding

‎.github/stale.yml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
# Configuration for probot-stale - https://github.com/probot/stale
3+
---
4+
5+
# Number of days of inactivity before an Issue or Pull Request becomes stale
6+
daysUntilStale: 180
7+
8+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
9+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
10+
daysUntilClose: 180
11+
12+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
13+
onlyLabels: []
14+
15+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
16+
exemptLabels:
17+
- pinned
18+
- security
19+
- "[Status] Maybe Later"
20+
21+
# Set to true to ignore issues in a project (defaults to false)
22+
exemptProjects: false
23+
24+
# Set to true to ignore issues in a milestone (defaults to false)
25+
exemptMilestones: false
26+
27+
# Set to true to ignore issues with an assignee (defaults to false)
28+
exemptAssignees: false
29+
30+
# Label to use when marking as stale
31+
staleLabel: wontfix
32+
33+
# Comment to post when marking as stale. Set to `false` to disable
34+
markComment: >
35+
This issue has been automatically marked as stale because it has not had
36+
recent activity. It will be closed if no further activity occurs. Thank you
37+
for your contributions.
38+
39+
# Comment to post when removing the stale label.
40+
# unmarkComment: >
41+
# Your comment here.
42+
43+
# Comment to post when closing a stale Issue or Pull Request.
44+
# closeComment: >
45+
# Your comment here.
46+
47+
# Limit the number of actions per hour, from 1-30. Default is 30
48+
limitPerRun: 30
49+
50+
# Limit to only `issues` or `pulls`
51+
# only: issues
52+
53+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
54+
# pulls:
55+
# daysUntilStale: 30
56+
# markComment: >
57+
# This pull request has been automatically marked as stale because it has not had
58+
# recent activity. It will be closed if no further activity occurs. Thank you
59+
# for your contributions.
60+
61+
# issues:
62+
# exemptLabels:
63+
# - confirmed

‎.github/workflows/cleanup.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: Artefact Cleaner
4+
on:
5+
schedule:
6+
- cron: 0 9 1 * *
7+
jobs:
8+
Clean:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: cleanup
12+
uses: glassechidna/artifact-cleaner@v2
13+
with:
14+
minimumAge: 1000000.0

‎.github/workflows/flake8.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: Flake8
4+
5+
on:
6+
push:
7+
pull_request:
8+
branches: ["master"]
9+
10+
jobs:
11+
Run:
12+
name: "Flake8"
13+
runs-on: "ubuntu-18.04"
14+
15+
steps:
16+
- name: Checkout 🛎️
17+
uses: "actions/checkout@v2"
18+
19+
- name: Setup Python 🐍
20+
uses: "actions/setup-python@v2"
21+
with:
22+
python-version: "3.8"
23+
24+
- name: Install dependencies 🔧
25+
run: |
26+
python -VV
27+
python -m site
28+
python -m pip install --upgrade pip setuptools wheel
29+
python -m pip install tox
30+
31+
- name: "Run Flake8"
32+
run: "python -m tox -e lint -- --format github"

‎.github/workflows/mypy.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: mypy
4+
5+
on:
6+
push:
7+
pull_request:
8+
branches: ["master"]
9+
10+
jobs:
11+
Run:
12+
name: "mypy / ${{ matrix.os }}"
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
matrix:
17+
os: ['windows-2019', 'macos-latest', 'ubuntu-20.04']
18+
fail-fast: false
19+
20+
steps:
21+
- name: Checkout 🛎️
22+
uses: "actions/checkout@v2"
23+
24+
- name: Setup Python 🐍
25+
uses: "actions/setup-python@v2"
26+
with:
27+
python-version: "3.6"
28+
29+
- name: Install dependencies 🔧
30+
run: |
31+
python -VV
32+
python -m site
33+
python -m pip install --upgrade pip setuptools wheel
34+
python -m pip install --upgrade tox virtualenv
35+
36+
- name: "Run mypy"
37+
run: "python -m tox -e mypy"

‎.github/workflows/python_ci.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: Windows
4+
5+
on:
6+
push:
7+
pull_request:
8+
branches: ["master"]
9+
10+
jobs:
11+
tests:
12+
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
13+
runs-on: "windows-2019"
14+
continue-on-error: ${{ matrix.config.experimental }}
15+
env:
16+
USING_COVERAGE: '3.6,3.7,3.8,3.9'
17+
18+
strategy:
19+
fail-fast: False
20+
matrix:
21+
config:
22+
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
23+
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
24+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
25+
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26+
27+
steps:
28+
- name: Checkout 🛎️
29+
uses: "actions/checkout@v2"
30+
31+
- name: Setup Python 🐍
32+
uses: "actions/setup-python@v2"
33+
with:
34+
python-version: "${{ matrix.config.python-version }}"
35+
36+
- name: Install dependencies 🔧
37+
run: |
38+
python -VV
39+
python -m site
40+
python -m pip install --upgrade pip setuptools wheel
41+
python -m pip install --upgrade tox virtualenv
42+
43+
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
44+
run: python -m tox -e "${{ matrix.config.testenvs }}"

‎.github/workflows/python_ci_linux.yml

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: Linux
4+
5+
on:
6+
push:
7+
pull_request:
8+
branches: ["master"]
9+
10+
jobs:
11+
tests:
12+
name: "ubuntu-20.04 / Python ${{ matrix.config.python-version }}"
13+
runs-on: "ubuntu-20.04"
14+
continue-on-error: ${{ matrix.config.experimental }}
15+
env:
16+
USING_COVERAGE: '3.6,3.7,3.8,3.9'
17+
18+
strategy:
19+
fail-fast: False
20+
matrix:
21+
config:
22+
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
23+
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
24+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
25+
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26+
27+
steps:
28+
- name: Checkout 🛎️
29+
uses: "actions/checkout@v2"
30+
31+
- name: Setup Python 🐍
32+
uses: "actions/setup-python@v2"
33+
with:
34+
python-version: "${{ matrix.config.python-version }}"
35+
36+
- name: Install dependencies 🔧
37+
run: |
38+
python -VV
39+
python -m site
40+
python -m pip install --upgrade pip setuptools wheel
41+
python -m pip install --upgrade tox virtualenv
42+
43+
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
44+
run: python -m tox -e "${{ matrix.config.testenvs }}"
45+
46+
47+
48+
Deploy:
49+
needs: tests
50+
51+
runs-on: "ubuntu-20.04"
52+
steps:
53+
- name: Checkout 🛎️
54+
uses: "actions/checkout@v2"
55+
if: startsWith(github.ref, 'refs/tags/')
56+
57+
- name: Setup Python 🐍
58+
uses: "actions/setup-python@v2"
59+
with:
60+
python-version: 3.8
61+
if: startsWith(github.ref, 'refs/tags/')
62+
63+
- name: Install dependencies 🔧
64+
run: |
65+
python -m pip install --upgrade pip setuptools wheel
66+
python -m pip install --upgrade tox
67+
if: startsWith(github.ref, 'refs/tags/')
68+
69+
- name: Build distributions 📦
70+
run: |
71+
tox -e build
72+
73+
if: startsWith(github.ref, 'refs/tags/')
74+
75+
- name: Upload distribution to PyPI 🚀
76+
if: startsWith(github.ref, 'refs/tags/')
77+
uses: pypa/gh-action-pypi-publish@master
78+
with:
79+
user: __token__
80+
password: ${{ secrets.PYPI_TOKEN }}
81+
skip_existing: true

0 commit comments

Comments
 (0)
Please sign in to comment.