Skip to content

Commit 2b119f3

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

File tree

10 files changed

+41
-19
lines changed

10 files changed

+41
-19
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ replace = version = "{new_version}"
1919

2020
[bumpversion:file:.github/workflows/conda_ci.yml]
2121

22+
search = ={current_version}=py_1
23+
replace = ={new_version}=py_1
24+
2225
[bumpversion:file:flake8_sphinx_links/__init__.py]
2326
search = : str = "{current_version}"
2427
replace = : str = "{new_version}"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37-
- {python-version: "3.12.0-alpha.1", testenvs: "py312-dev,build", experimental: True}
37+
- {python-version: "3.12.0-alpha.7", testenvs: "py312-dev,build", experimental: True}
3838
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3939
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
4040
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}

.github/workflows/python_ci_linux.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -35,7 +35,7 @@ jobs:
3535
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
38-
- {python-version: "3.12.0-alpha.1", testenvs: "py312-dev,build", experimental: True}
38+
- {python-version: "3.12.0-alpha.7", testenvs: "py312-dev,build", experimental: True}
3939
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
4040
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
4141
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
@@ -178,7 +178,7 @@ jobs:
178178

179179
Conda:
180180
needs: deploy
181-
runs-on: "ubuntu-18.04"
181+
runs-on: ubuntu-22.04
182182
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
183183
steps:
184184
- name: Checkout 🛎️
@@ -193,7 +193,9 @@ jobs:
193193
uses: conda-incubator/setup-miniconda@v2
194194
with:
195195
activate-environment: env
196-
conda-build-version: 3.21.0
196+
conda-build-version: 3.23.3
197+
python-version: "3.8"
198+
miniforge-variant: Mambaforge
197199

198200
- name: Install dependencies 🔧
199201
run: |

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.1,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37-
- {python-version: "3.12.0-alpha.1", testenvs: "py312-dev,build", experimental: True}
37+
- {python-version: "3.12.0-alpha.7", testenvs: "py312-dev,build", experimental: True}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3939
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
4040
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}

.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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ flake8_strftime
3030
* - Other
3131
- |license| |language| |requires|
3232

33-
.. |docs| image:: https://img.shields.io/readthedocs/flake8_strftime/latest?logo=read-the-docs
34-
:target: https://flake8_strftime.readthedocs.io/en/latest
33+
.. |docs| image:: https://img.shields.io/readthedocs/flake8-strftime/latest?logo=read-the-docs
34+
:target: https://flake8-strftime.readthedocs.io/en/latest
3535
:alt: Documentation Build Status
3636

3737
.. |docs_check| image:: https://github.com/python-formate/flake8_strftime/workflows/Docs%20Check/badge.svg
@@ -109,7 +109,7 @@ flake8_strftime
109109
:target: https://github.com/python-formate/flake8_strftime/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_strftime

doc-source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ flake8_strftime
3333
- |license| |language| |requires|
3434

3535
.. |docs| rtfd-shield::
36-
:project: flake8_strftime
36+
:project: flake8-strftime
3737
:alt: Documentation Build Status
3838

3939
.. |docs_check| actions-shield::
@@ -114,7 +114,7 @@ flake8_strftime
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::

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ file = "LICENSE"
2222
Homepage = "https://github.com/python-formate/flake8_strftime"
2323
"Issue Tracker" = "https://github.com/python-formate/flake8_strftime/issues"
2424
"Source Code" = "https://github.com/python-formate/flake8_strftime"
25-
Documentation = "https://flake8_strftime.readthedocs.io/en/latest"
25+
Documentation = "https://flake8-strftime.readthedocs.io/en/latest"
2626

2727
[tool.whey]
2828
base-classifiers = [

tox.ini

Lines changed: 15 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
@@ -65,6 +67,16 @@ commands =
6567
python --version
6668
python -m pytest --cov=flake8_strftime -r aR tests/ {posargs}
6769

70+
[testenv:.package]
71+
setenv =
72+
PYTHONDEVMODE=1
73+
PIP_DISABLE_PIP_VERSION_CHECK=1
74+
75+
[testenv:py312-dev]
76+
setenv =
77+
PYTHONDEVMODE=1
78+
PIP_DISABLE_PIP_VERSION_CHECK=1
79+
6880
[testenv:docs]
6981
setenv = SHOW_TODOS = 1
7082
passenv = SPHINX_BUILDER
@@ -74,6 +86,9 @@ deps = -r{toxinidir}/doc-source/requirements.txt
7486
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
7587

7688
[testenv:build]
89+
setenv =
90+
PYTHONDEVMODE=1
91+
PIP_DISABLE_PIP_VERSION_CHECK=1
7792
skip_install = True
7893
changedir = {toxinidir}
7994
deps =

0 commit comments

Comments
 (0)