Skip to content

Commit

Permalink
Updated files with 'repo_helper'. (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
  • Loading branch information
repo-helper[bot] authored Apr 14, 2023
1 parent f8d6844 commit c70f94b
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:.github/workflows/conda_ci.yml]
search = ={current_version}=py_1
replace = ={new_version}=py_1
6 changes: 4 additions & 2 deletions .github/workflows/conda_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
tests:
name: "Conda"
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash -l {0}
Expand All @@ -30,7 +30,9 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: env
conda-build-version: 3.21.0
conda-build-version: 3.23.3
python-version: "3.8"
miniforge-variant: Mambaforge

- name: Install dependencies 🔧
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:

Conda:
needs: deploy
runs-on: "ubuntu-18.04"
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
steps:
- name: Checkout 🛎️
Expand All @@ -192,7 +192,9 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: env
conda-build-version: 3.21.0
conda-build-version: 3.23.3
python-version: "3.8"
miniforge-variant: Mambaforge

- name: Install dependencies 🔧
run: |
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ repos:
- id: flake2lint

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: v1.10.0
hooks:
- id: python-no-eval
- id: rst-backticks
Expand All @@ -70,7 +70,7 @@ repos:
- --keep-runtime-typing

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
rev: v1.5.1
hooks:
- id: remove-crlf
- id: forbid-crlf
Expand All @@ -87,7 +87,7 @@ repos:
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

- repo: https://github.com/domdfcoding/dep_checker
rev: v0.7.0
rev: v0.7.1
hooks:
- id: dep_checker
args:
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
* - Other
- |license| |language| |requires|

.. |docs| image:: https://img.shields.io/readthedocs/toctree_plus/latest?logo=read-the-docs
:target: https://toctree_plus.readthedocs.io/en/latest
.. |docs| image:: https://img.shields.io/readthedocs/toctree-plus/latest?logo=read-the-docs
:target: https://toctree-plus.readthedocs.io/en/latest
:alt: Documentation Build Status

.. |docs_check| image:: https://github.com/sphinx-toolbox/toctree_plus/workflows/Docs%20Check/badge.svg
Expand Down Expand Up @@ -108,7 +108,7 @@
:target: https://github.com/sphinx-toolbox/toctree_plus/commit/master
:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
:alt: Maintenance

.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/toctree_plus
Expand Down
4 changes: 2 additions & 2 deletions doc-source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- |license| |language| |requires|

.. |docs| rtfd-shield::
:project: toctree_plus
:project: toctree-plus
:alt: Documentation Build Status

.. |docs_check| actions-shield::
Expand Down Expand Up @@ -114,7 +114,7 @@
:last-commit:
:alt: GitHub last commit

.. |maintained| maintained-shield:: 2022
.. |maintained| maintained-shield:: 2023
:alt: Maintenance

.. |pypi-downloads| pypi-shield::
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ file = "LICENSE"
Homepage = "https://github.com/sphinx-toolbox/toctree_plus"
"Issue Tracker" = "https://github.com/sphinx-toolbox/toctree_plus/issues"
"Source Code" = "https://github.com/sphinx-toolbox/toctree_plus"
Documentation = "https://toctree_plus.readthedocs.io/en/latest"
Documentation = "https://toctree-plus.readthedocs.io/en/latest"

[tool.whey]
base-classifiers = [
Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# * tox
# * envlists
# * testenv
# * testenv:.package
# * testenv:py312-dev
# * testenv:docs
# * testenv:build
# * testenv:lint
Expand Down Expand Up @@ -63,6 +65,11 @@ commands =
python --version
python -m pytest --cov=sphinxcontrib.toctree_plus -r aR tests/ {posargs}

[testenv:.package]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:docs]
setenv = SHOW_TODOS = 1
passenv = SPHINX_BUILDER
Expand All @@ -72,6 +79,9 @@ deps = -r{toxinidir}/doc-source/requirements.txt
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}

[testenv:build]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
skip_install = True
changedir = {toxinidir}
deps =
Expand Down

0 comments on commit c70f94b

Please sign in to comment.