Skip to content

Commit c66806e

Browse files
[repo-helper] Configuration Update (#20)
* 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 94efbc4 commit c66806e

File tree

7 files changed

+22
-25
lines changed

7 files changed

+22
-25
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,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.6,pypy-3.7'
2525

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

.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,pypy-3.6,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.6,pypy-3.7'
2626

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

@@ -101,21 +101,26 @@ jobs:
101101
path: coverage
102102

103103
- name: Display structure of downloaded files
104+
id: show
104105
run: ls -R
105106
working-directory: coverage
107+
continue-on-error: true
106108

107109
- name: Combine Coverage 👷
110+
if: ${{ steps.show.outcome != 'failure' }}
108111
run: |
109112
shopt -s globstar
110113
python -m coverage combine coverage/**/.coverage
111114
112115
- name: "Upload Combined Coverage Artefact 🚀"
116+
if: ${{ steps.show.outcome != 'failure' }}
113117
uses: actions/upload-artifact@v2
114118
with:
115119
name: "combined-coverage"
116120
path: .coverage
117121

118122
- name: "Upload Combined Coverage to Coveralls"
123+
if: ${{ steps.show.outcome != 'failure' }}
119124
env:
120125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121126
run: |

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 3 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,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.7'
2525

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

3837
steps:

.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
@@ -30,7 +30,9 @@ qa = mypy, lint
3030
cov = py36, coverage
3131

3232
[testenv]
33-
setenv = PYTHONDEVMODE = 1
33+
setenv =
34+
PYTHONDEVMODE=1
35+
PIP_DISABLE_PIP_VERSION_CHECK=1
3436
deps = -r{toxinidir}/tests/requirements.txt
3537
commands =
3638
python --version
@@ -72,13 +74,14 @@ deps =
7274
flake8-noqa>=1.1.0
7375
flake8-pyi>=20.10.0
7476
flake8-pytest-style>=1.3.0
77+
flake8-quotes>=3.3.0
7578
flake8-slots>=0.1.0
7679
flake8-sphinx-links>=0.0.4
7780
flake8-strftime>=0.1.1
7881
flake8-typing-imports>=1.10.0
79-
git+https://github.com/domdfcoding/flake8-quotes.git
8082
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
8183
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
84+
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
8285
pydocstyle>=6.0.0
8386
pygments>=2.7.1
8487
importlib_metadata<4.5.0; python_version<'3.8'
@@ -139,6 +142,10 @@ multiline-quotes = """
139142
docstring-quotes = """
140143
count = True
141144
min_python_version = 3.6.1
145+
unused-arguments-ignore-abstract-functions = True
146+
unused-arguments-ignore-overload-functions = True
147+
unused-arguments-ignore-magic-methods = True
148+
unused-arguments-ignore-variadic-names = True
142149
143150
[coverage:run]
144151
plugins = coverage_pyver_pragma

0 commit comments

Comments
 (0)