Skip to content

Commit 7f5ac2c

Browse files
Updated files with 'repo_helper'. (#41)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 39c93b2 commit 7f5ac2c

File tree

7 files changed

+25
-9
lines changed

7 files changed

+25
-9
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ search = version = "{current_version}"
2121
replace = version = "{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/conda_ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
tests:
1414
name: "Conda"
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-22.04
1616
defaults:
1717
run:
1818
shell: bash -l {0}
@@ -30,7 +30,9 @@ jobs:
3030
uses: conda-incubator/setup-miniconda@v2
3131
with:
3232
activate-environment: env
33-
conda-build-version: 3.21.0
33+
conda-build-version: 3.23.3
34+
python-version: "3.8"
35+
miniforge-variant: Mambaforge
3436

3537
- name: Install dependencies 🔧
3638
run: |

.github/workflows/python_ci_linux.yml

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

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

196198
- name: Install dependencies 🔧
197199
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:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ flake8_sphinx_links
109109
:target: https://github.com/python-formate/flake8-sphinx-links/commit/master
110110
:alt: GitHub last commit
111111

112-
.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
112+
.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
113113
:alt: Maintenance
114114

115115
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/flake8_sphinx_links

doc-source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ flake8_sphinx_links
114114
:last-commit:
115115
:alt: GitHub last commit
116116

117-
.. |maintained| maintained-shield:: 2022
117+
.. |maintained| maintained-shield:: 2023
118118
:alt: Maintenance
119119

120120
.. |pypi-downloads| pypi-shield::

tox.ini

Lines changed: 10 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
@@ -52,6 +54,11 @@ commands =
5254
python --version
5355
python -m pytest --cov=flake8_sphinx_links -r aR tests/ {posargs}
5456

57+
[testenv:.package]
58+
setenv =
59+
PYTHONDEVMODE=1
60+
PIP_DISABLE_PIP_VERSION_CHECK=1
61+
5562
[testenv:docs]
5663
setenv = SHOW_TODOS = 1
5764
passenv = SPHINX_BUILDER
@@ -61,6 +68,9 @@ deps = -r{toxinidir}/doc-source/requirements.txt
6168
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
6269

6370
[testenv:build]
71+
setenv =
72+
PYTHONDEVMODE=1
73+
PIP_DISABLE_PIP_VERSION_CHECK=1
6474
skip_install = True
6575
changedir = {toxinidir}
6676
deps =

0 commit comments

Comments
 (0)