Skip to content

Commit 446702c

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

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ search = : str = "{current_version}"
2121
replace = : str = "{new_version}"
2222

2323
[bumpversion:file:.github/workflows/conda_ci.yml]
24+
search = ={current_version}=py_1
25+
replace = ={new_version}=py_1

.github/workflows/python_ci_linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175

176176
Conda:
177177
needs: deploy
178-
runs-on: "ubuntu-18.04"
178+
runs-on: ubuntu-22.04
179179
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
180180
steps:
181181
- name: Checkout 🛎️
@@ -190,7 +190,9 @@ jobs:
190190
uses: conda-incubator/setup-miniconda@v2
191191
with:
192192
activate-environment: env
193-
conda-build-version: 3.21.0
193+
conda-build-version: 3.23.3
194+
python-version: "3.8"
195+
miniforge-variant: Mambaforge
194196

195197
- name: Install dependencies 🔧
196198
run: |

.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:

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# * tox
44
# * envlists
55
# * testenv
6+
# * testenv:.package
67
# * testenv:py312-dev
78
# * testenv:docs
89
# * testenv:build
@@ -52,6 +53,11 @@ commands =
5253
python --version
5354
python -m pytest --cov=sphinx_pyproject -r aR tests/ {posargs}
5455

56+
[testenv:.package]
57+
setenv =
58+
PYTHONDEVMODE=1
59+
PIP_DISABLE_PIP_VERSION_CHECK=1
60+
5561
[testenv:docs]
5662
setenv = SHOW_TODOS = 1
5763
passenv = SPHINX_BUILDER
@@ -61,6 +67,9 @@ deps = -r{toxinidir}/doc-source/requirements.txt
6167
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
6268

6369
[testenv:build]
70+
setenv =
71+
PYTHONDEVMODE=1
72+
PIP_DISABLE_PIP_VERSION_CHECK=1
6473
skip_install = True
6574
changedir = {toxinidir}
6675
deps =

0 commit comments

Comments
 (0)