Skip to content

Commit c51e444

Browse files
committed
Initial commit
0 parents  commit c51e444

33 files changed

+2403
-0
lines changed

.bumpversion.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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:flake8_github_action/__init__.py]

.dependabot/config.yml

Lines changed: 9 additions & 0 deletions
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

Lines changed: 48 additions & 0 deletions
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+
* flake8-github-action:
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-->
Lines changed: 27 additions & 0 deletions
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+
* flake8-github-action:
24+
25+
26+
## Other Additional Information:
27+
<!--Any additional information, related issues, etc.-->

.github/auto_assign.yml

Lines changed: 9 additions & 0 deletions
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/stale.yml

Lines changed: 63 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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/python_ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: Windows Tests
4+
5+
on:
6+
push:
7+
pull_request:
8+
branches: ["master"]
9+
10+
jobs:
11+
tests:
12+
name: "Python ${{ matrix.python-version }}"
13+
runs-on: "windows-2019"
14+
env:
15+
USING_COVERAGE: '3.6,3.7,3.8,3.9'
16+
17+
strategy:
18+
fail-fast: False
19+
matrix:
20+
python-version: ["3.6","3.7","3.8","3.9"]
21+
22+
steps:
23+
- name: Checkout 🛎️
24+
uses: "actions/checkout@v2"
25+
- name: Setup Python 🐍
26+
uses: "actions/setup-python@v2"
27+
with:
28+
python-version: "${{ matrix.python-version }}"
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 tox-gh-actions virtualenv
35+
36+
37+
- name: "Run Tests for Python ${{ matrix.python-version }}"
38+
run: "python -m tox"

.github/workflows/python_ci_linux.yml

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

.github/workflows/python_ci_macos.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: macOS Tests
4+
5+
on:
6+
push:
7+
pull_request:
8+
branches: ["master"]
9+
10+
jobs:
11+
tests:
12+
name: "Python ${{ matrix.python-version }}"
13+
runs-on: "macos-latest"
14+
env:
15+
USING_COVERAGE: '3.6,3.7,3.8,3.9'
16+
17+
strategy:
18+
fail-fast: False
19+
matrix:
20+
python-version: ["3.6","3.7","3.8","3.9"]
21+
22+
steps:
23+
- name: Checkout 🛎️
24+
uses: "actions/checkout@v2"
25+
- name: Setup Python 🐍
26+
uses: "actions/setup-python@v2"
27+
with:
28+
python-version: "${{ matrix.python-version }}"
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 tox-gh-actions virtualenv
35+
36+
37+
- name: "Run Tests for Python ${{ matrix.python-version }}"
38+
run: "python -m tox"

0 commit comments

Comments
 (0)