Skip to content

Commit 372dc50

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

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
@@ -19,3 +19,5 @@ search = version = "{current_version}"
1919
replace = version = "{new_version}"
2020

2121
[bumpversion:file:.github/workflows/conda_ci.yml]
22+
search = ={current_version}=py_1
23+
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-helper
109109
:target: https://github.com/python-formate/flake8-helper/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-helper

doc-source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ flake8-helper
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
@@ -51,6 +53,11 @@ commands =
5153
python --version
5254
python -m pytest --cov=flake8_helper -r aR tests/ {posargs}
5355

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

6269
[testenv:build]
70+
setenv =
71+
PYTHONDEVMODE=1
72+
PIP_DISABLE_PIP_VERSION_CHECK=1
6373
skip_install = True
6474
changedir = {toxinidir}
6575
deps =

0 commit comments

Comments
 (0)