Skip to content

Commit 38f3c07

Browse files
[repo-helper] Configuration Update (#9)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent b8e89f5 commit 38f3c07

File tree

7 files changed

+22
-24
lines changed

7 files changed

+22
-24
lines changed

.github/workflows/cleanup.yml

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

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout 🛎️
20-
uses: "actions/checkout@v1"
20+
uses: "actions/checkout@v2"
2121

2222
- name: Check for changed files
2323
uses: dorny/paths-filter@v2

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "windows-2019"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,7 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
34-
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}
34+
- {python-version: "3.10", testenvs: "py310-dev-click{7,8},build", experimental: True}
3535

3636
steps:
3737
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "ubuntu-20.04"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
35-
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}
35+
- {python-version: "3.10", testenvs: "py310-dev-click{7,8},build", experimental: True}
3636

3737
steps:
3838
- name: Checkout 🛎️
@@ -99,21 +99,26 @@ jobs:
9999
path: coverage
100100

101101
- name: Display structure of downloaded files
102+
id: show
102103
run: ls -R
103104
working-directory: coverage
105+
continue-on-error: true
104106

105107
- name: Combine Coverage 👷
108+
if: ${{ steps.show.outcome != 'failure' }}
106109
run: |
107110
shopt -s globstar
108111
python -m coverage combine coverage/**/.coverage
109112
110113
- name: "Upload Combined Coverage Artefact 🚀"
114+
if: ${{ steps.show.outcome != 'failure' }}
111115
uses: actions/upload-artifact@v2
112116
with:
113117
name: "combined-coverage"
114118
path: .coverage
115119

116120
- name: "Upload Combined Coverage to Coveralls"
121+
if: ${{ steps.show.outcome != 'failure' }}
117122
env:
118123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119124
run: |

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "macos-latest"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,7 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
34-
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}
34+
- {python-version: "3.10", testenvs: "py310-dev-click{7,8},build", experimental: True}
3535

3636
steps:
3737
- name: Checkout 🛎️

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
- id: end-of-file-fixer
3131

3232
- repo: https://github.com/domdfcoding/pre-commit-hooks
33-
rev: v0.2.1
33+
rev: v0.3.0
3434
hooks:
3535
- id: requirements-txt-sorter
3636
args:

tox.ini

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ qa = mypy, lint
4242
cov = py36-click7, coverage
4343

4444
[testenv]
45-
setenv = PYTHONDEVMODE = 1
45+
setenv =
46+
PYTHONDEVMODE=1
47+
PIP_DISABLE_PIP_VERSION_CHECK=1
4648
deps =
4749
-r{toxinidir}/tests/requirements.txt
4850
click7: click~=7.0
@@ -87,13 +89,14 @@ deps =
8789
flake8-noqa>=1.1.0
8890
flake8-pyi>=20.10.0
8991
flake8-pytest-style>=1.3.0
92+
flake8-quotes>=3.3.0
9093
flake8-slots>=0.1.0
9194
flake8-sphinx-links>=0.0.4
9295
flake8-strftime>=0.1.1
9396
flake8-typing-imports>=1.10.0
94-
git+https://github.com/domdfcoding/flake8-quotes.git
9597
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
9698
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
99+
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
97100
pydocstyle>=6.0.0
98101
pygments>=2.7.1
99102
importlib_metadata<4.5.0; python_version<'3.8'
@@ -154,6 +157,10 @@ multiline-quotes = """
154157
docstring-quotes = """
155158
count = True
156159
min_python_version = 3.6.1
160+
unused-arguments-ignore-abstract-functions = True
161+
unused-arguments-ignore-overload-functions = True
162+
unused-arguments-ignore-magic-methods = True
163+
unused-arguments-ignore-variadic-names = True
157164
158165
[coverage:run]
159166
plugins = coverage_pyver_pragma

0 commit comments

Comments
 (0)