Skip to content

Commit

Permalink
Updated files with 'repo_helper'.
Browse files Browse the repository at this point in the history
  • Loading branch information
repo-helper[bot] committed Apr 14, 2023
1 parent d28c5ae commit 2477114
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 11 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 @@ -176,7 +176,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 @@ -191,7 +191,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
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ seed_intersphinx_mapping
* - Other
- |license| |language| |requires|

.. |docs| image:: https://img.shields.io/readthedocs/seed_intersphinx_mapping/latest?logo=read-the-docs
:target: https://seed_intersphinx_mapping.readthedocs.io/en/latest
.. |docs| image:: https://img.shields.io/readthedocs/seed-intersphinx-mapping/latest?logo=read-the-docs
:target: https://seed-intersphinx-mapping.readthedocs.io/en/latest
:alt: Documentation Build Status

.. |docs_check| image:: https://github.com/sphinx-toolbox/seed_intersphinx_mapping/workflows/Docs%20Check/badge.svg
Expand Down
2 changes: 1 addition & 1 deletion doc-source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ seed_intersphinx_mapping
- |license| |language| |requires|

.. |docs| rtfd-shield::
:project: seed_intersphinx_mapping
:project: seed-intersphinx-mapping
:alt: Documentation Build Status

.. |docs_check| actions-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/seed_intersphinx_mapping"
"Issue Tracker" = "https://github.com/sphinx-toolbox/seed_intersphinx_mapping/issues"
"Source Code" = "https://github.com/sphinx-toolbox/seed_intersphinx_mapping"
Documentation = "https://seed_intersphinx_mapping.readthedocs.io/en/latest"
Documentation = "https://seed-intersphinx-mapping.readthedocs.io/en/latest"

[tool.whey]
base-classifiers = [
Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# * tox
# * envlists
# * testenv
# * testenv:.package
# * testenv:py312-dev
# * testenv:docs
# * testenv:build
Expand Down Expand Up @@ -53,6 +54,11 @@ commands =
python --version
python -m pytest --cov=seed_intersphinx_mapping -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 @@ -62,6 +68,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 2477114

Please sign in to comment.