Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 8230715

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

6 files changed

Lines changed: 21 additions & 10 deletions

File tree

‎.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_linux.yml‎

Lines changed: 4 additions & 4 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

‎.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
@@ -63,7 +63,7 @@ tox-minversions
6363
:target: https://github.com/python-coincidence/tox-minversions/commit/master
6464
:alt: GitHub last commit
6565

66-
.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
66+
.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
6767
:alt: Maintenance
6868

6969
.. end shields

‎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
@@ -22,6 +24,7 @@ isolated_build = True
2224
requires =
2325
pip>=21,!=22.2
2426
tox-envlist>=0.2.1
27+
tox~=3.0
2528
virtualenv!=20.16.0
2629

2730
[envlists]
@@ -39,7 +42,15 @@ commands =
3942
python --version
4043
python -m pytest --cov=tox_minversions -r aR tests/ {posargs}
4144

45+
[testenv:.package]
46+
setenv =
47+
PYTHONDEVMODE=1
48+
PIP_DISABLE_PIP_VERSION_CHECK=1
49+
4250
[testenv:build]
51+
setenv =
52+
PYTHONDEVMODE=1
53+
PIP_DISABLE_PIP_VERSION_CHECK=1
4354
skip_install = True
4455
changedir = {toxinidir}
4556
deps =

0 commit comments

Comments
 (0)