Skip to content

Commit 25fbc4a

Browse files
[repo-helper] Configuration Update (#80)
* 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 5f958a3 commit 25fbc4a

File tree

7 files changed

+23
-21
lines changed

7 files changed

+23
-21
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
Run:
1818
name: "Flake8"
19-
runs-on: "ubuntu-18.04"
19+
runs-on: "ubuntu-20.04"
2020

2121
steps:
2222
- name: Checkout 🛎️

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
python -VV
4848
python -m site
4949
python -m pip install --upgrade pip setuptools wheel
50-
python -m pip install --upgrade tox virtualenv
50+
python -m pip install --upgrade tox virtualenv!=20.16.0
5151
5252
- name: "Run mypy"
5353
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,7 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36-
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
36+
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev,build", experimental: True}
3737
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3939
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
@@ -66,7 +66,7 @@ jobs:
6666
python -VV
6767
python -m site
6868
python -m pip install --upgrade pip setuptools wheel
69-
python -m pip install --upgrade tox virtualenv
69+
python -m pip install --upgrade tox virtualenv!=20.16.0
7070
7171
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7272
if: steps.setup-python.outcome == 'success'

.github/workflows/python_ci_linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-beta.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
37-
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
37+
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev,build", experimental: True}
3838
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3939
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
4040
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
@@ -67,7 +67,7 @@ jobs:
6767
python -VV
6868
python -m site
6969
python -m pip install --upgrade pip setuptools wheel
70-
python -m pip install --upgrade tox virtualenv
70+
python -m pip install --upgrade tox virtualenv!=20.16.0
7171
python -m pip install --upgrade coverage_pyver_pragma
7272
7373
- name: "Run Tests for Python ${{ matrix.config.python-version }}"

.github/workflows/python_ci_macos.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,7 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36-
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
36+
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev,build", experimental: True}
3737
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3838
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3939
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
@@ -65,7 +65,7 @@ jobs:
6565
python -VV
6666
python -m site
6767
python -m pip install --upgrade pip setuptools wheel
68-
python -m pip install --upgrade tox virtualenv
68+
python -m pip install --upgrade tox virtualenv!=20.16.0
6969
7070
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7171
if: steps.setup-python.outcome == 'success'

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: ^domdf_python_tools/compat/importlib_resources.py$
55

66
repos:
77
- repo: https://github.com/repo-helper/pyproject-parser
8-
rev: v0.6.1
8+
rev: v0.7.0
99
hooks:
1010
- id: reformat-pyproject
1111

@@ -30,7 +30,7 @@ repos:
3030
- id: end-of-file-fixer
3131

3232
- repo: https://github.com/domdfcoding/pre-commit-hooks
33-
rev: v0.3.0
33+
rev: v0.4.0
3434
hooks:
3535
- id: requirements-txt-sorter
3636
args:
@@ -40,13 +40,13 @@ repos:
4040
- id: bind-requirements
4141

4242
- repo: https://github.com/domdfcoding/flake8-dunder-all
43-
rev: v0.2.1
43+
rev: v0.2.2
4444
hooks:
4545
- id: ensure-dunder-all
4646
files: ^domdf_python_tools/.*\.py$
4747

4848
- repo: https://github.com/domdfcoding/flake2lint
49-
rev: v0.4.1
49+
rev: v0.4.2
5050
hooks:
5151
- id: flake2lint
5252

@@ -67,7 +67,7 @@ repos:
6767
- --keep-runtime-typing
6868

6969
- repo: https://github.com/Lucas-C/pre-commit-hooks
70-
rev: v1.2.0
70+
rev: v1.3.1
7171
hooks:
7272
- id: remove-crlf
7373
- id: forbid-crlf
@@ -84,7 +84,7 @@ repos:
8484
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8585

8686
- repo: https://github.com/domdfcoding/dep_checker
87-
rev: v0.6.2
87+
rev: v0.7.0
8888
hooks:
8989
- id: dep_checker
9090
args:

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ envlist =
3232
skip_missing_interpreters = True
3333
isolated_build = True
3434
requires =
35-
pip>=21
35+
pip>=21,!=22.2
3636
tox-envlist>=0.2.1
37+
virtualenv!=20.16.0
3738

3839
[envlists]
3940
test =
@@ -77,15 +78,15 @@ changedir = {toxinidir}
7778
ignore_errors = True
7879
skip_install = False
7980
deps =
80-
flake8>=3.8.2
81+
flake8>=3.8.2,<5
8182
flake8-2020>=1.6.0
8283
flake8-builtins>=1.5.3
8384
flake8-docstrings>=1.5.0
8485
flake8-dunder-all>=0.1.1
8586
flake8-encodings>=0.1.0
8687
flake8-github-actions>=0.1.0
87-
flake8-noqa>=1.1.0
88-
flake8-pyi>=20.10.0
88+
flake8-noqa>=1.1.0,<=1.2.2
89+
flake8-pyi>=20.10.0,<=22.8.0
8990
flake8-pytest-style>=1.3.0
9091
flake8-quotes>=3.3.0
9192
flake8-slots>=0.1.0
@@ -139,6 +140,7 @@ passenv =
139140
COV_PYTHON_VERSION
140141
COV_PLATFORM
141142
COV_PYTHON_IMPLEMENTATION
143+
*
142144
changedir = {toxinidir}
143145
deps =
144146
coverage>=5

0 commit comments

Comments
 (0)