Skip to content

Commit 2a9f17a

Browse files
[repo-helper] Configuration Update (#37)
* 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 98126a5 commit 2a9f17a

File tree

7 files changed

+20
-24
lines changed

7 files changed

+20
-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,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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ qa = mypy, lint
2929
cov = py36, coverage
3030

3131
[testenv]
32-
setenv = PYTHONDEVMODE = 1
32+
setenv =
33+
PYTHONDEVMODE=1
34+
PIP_DISABLE_PIP_VERSION_CHECK=1
3335
deps = -r{toxinidir}/tests/requirements.txt
3436
commands =
3537
python --version
@@ -110,6 +112,10 @@ multiline-quotes = """
110112
docstring-quotes = """
111113
count = True
112114
min_python_version = 3.6.1
115+
unused-arguments-ignore-abstract-functions = True
116+
unused-arguments-ignore-overload-functions = True
117+
unused-arguments-ignore-magic-methods = True
118+
unused-arguments-ignore-variadic-names = True
113119
114120
[coverage:run]
115121
plugins = coverage_pyver_pragma

0 commit comments

Comments
 (0)