Skip to content

Commit afa7bcc

Browse files
Updated files with 'repo_helper'. (#33)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 987e08f commit afa7bcc

File tree

9 files changed

+27
-16
lines changed

9 files changed

+27
-16
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
python -VV
4444
python -m site
4545
python -m pip install --upgrade pip setuptools wheel
46-
python -m pip install tox
46+
python -m pip install tox~=3.0
4747
4848
- name: "Run Flake8"
4949
if: steps.changes.outputs.code == 'true'

.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!=20.16.0
50+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
5151
5252
- name: "Run mypy"
5353
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ jobs:
6060
python -VV
6161
python -m site
6262
python -m pip install --upgrade pip setuptools wheel
63-
python -m pip install --upgrade tox virtualenv!=20.16.0
63+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6464
6565
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6666
if: steps.setup-python.outcome == 'success'
6767
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
6868

6969
- name: "Upload Coverage 🚀"
70-
uses: actions/upload-artifact@v2
70+
uses: actions/upload-artifact@v3
7171
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7272
with:
7373
name: "coverage-${{ matrix.config.python-version }}"

.github/workflows/python_ci_linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ jobs:
6161
python -VV
6262
python -m site
6363
python -m pip install --upgrade pip setuptools wheel
64-
python -m pip install --upgrade tox virtualenv!=20.16.0
64+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6565
python -m pip install --upgrade coverage_pyver_pragma
6666
6767
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6868
if: steps.setup-python.outcome == 'success'
6969
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7070

7171
- name: "Upload Coverage 🚀"
72-
uses: actions/upload-artifact@v2
72+
uses: actions/upload-artifact@v3
7373
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7474
with:
7575
name: "coverage-${{ matrix.config.python-version }}"
@@ -94,7 +94,7 @@ jobs:
9494
python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
9595
9696
- name: "Download Coverage 🪂"
97-
uses: actions/download-artifact@v2
97+
uses: actions/download-artifact@v3
9898
with:
9999
path: coverage
100100

@@ -112,7 +112,7 @@ jobs:
112112
113113
- name: "Upload Combined Coverage Artefact 🚀"
114114
if: ${{ steps.show.outcome != 'failure' }}
115-
uses: actions/upload-artifact@v2
115+
uses: actions/upload-artifact@v3
116116
with:
117117
name: "combined-coverage"
118118
path: .coverage
@@ -143,7 +143,7 @@ jobs:
143143
if: startsWith(github.ref, 'refs/tags/')
144144
run: |
145145
python -m pip install --upgrade pip setuptools wheel
146-
python -m pip install --upgrade tox
146+
python -m pip install --upgrade tox~=3.0
147147
148148
- name: Build distributions 📦
149149
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ jobs:
6060
python -VV
6161
python -m site
6262
python -m pip install --upgrade pip setuptools wheel
63-
python -m pip install --upgrade tox virtualenv!=20.16.0
63+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6464
6565
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6666
if: steps.setup-python.outcome == 'success'
6767
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
6868

6969
- name: "Upload Coverage 🚀"
70-
uses: actions/upload-artifact@v2
70+
uses: actions/upload-artifact@v3
7171
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7272
with:
7373
name: "coverage-${{ matrix.config.python-version }}"

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
- id: flake2lint
5555

5656
- repo: https://github.com/pre-commit/pygrep-hooks
57-
rev: v1.9.0
57+
rev: v1.10.0
5858
hooks:
5959
- id: python-no-eval
6060
- id: rst-backticks
@@ -70,7 +70,7 @@ repos:
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks
73-
rev: v1.3.1
73+
rev: v1.5.1
7474
hooks:
7575
- id: remove-crlf
7676
- id: forbid-crlf
@@ -87,7 +87,7 @@ repos:
8787
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8888

8989
- repo: https://github.com/domdfcoding/dep_checker
90-
rev: v0.7.0
90+
rev: v0.7.1
9191
hooks:
9292
- id: dep_checker
9393
args:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tox-recreate-hook
9999
:target: https://github.com/python-coincidence/tox-recreate-hook/commit/master
100100
:alt: GitHub last commit
101101

102-
.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
102+
.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
103103
:alt: Maintenance
104104

105105
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/tox-recreate-hook

doc-source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ tox-recreate-hook
104104
:last-commit:
105105
:alt: GitHub last commit
106106

107-
.. |maintained| maintained-shield:: 2022
107+
.. |maintained| maintained-shield:: 2023
108108
:alt: Maintenance
109109

110110
.. |pypi-downloads| pypi-shield::

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# * tox
44
# * envlists
55
# * testenv
6+
# * testenv:.package
7+
# * testenv:py312-dev
68
# * testenv:docs
79
# * testenv:build
810
# * testenv:lint
@@ -23,6 +25,7 @@ isolated_build = True
2325
requires =
2426
pip>=21,!=22.2
2527
tox-envlist>=0.2.1
28+
tox~=3.0
2629
virtualenv!=20.16.0
2730

2831
[envlists]
@@ -40,6 +43,11 @@ commands =
4043
python --version
4144
python -m pytest --cov=tox_recreate_hook -r aR tests/ {posargs}
4245

46+
[testenv:.package]
47+
setenv =
48+
PYTHONDEVMODE=1
49+
PIP_DISABLE_PIP_VERSION_CHECK=1
50+
4351
[testenv:docs]
4452
setenv = SHOW_TODOS = 1
4553
passenv = SPHINX_BUILDER
@@ -49,6 +57,9 @@ deps = -r{toxinidir}/doc-source/requirements.txt
4957
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
5058

5159
[testenv:build]
60+
setenv =
61+
PYTHONDEVMODE=1
62+
PIP_DISABLE_PIP_VERSION_CHECK=1
5263
skip_install = True
5364
changedir = {toxinidir}
5465
deps =

0 commit comments

Comments
 (0)