Skip to content

Commit 0c01ca1

Browse files
[repo-helper] Configuration Update (#56)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. --------- Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent aa7341f commit 0c01ca1

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- '!tests/**'
3030
3131
- name: Install and Build 🔧
32-
uses: sphinx-toolbox/[email protected]
32+
uses: sphinx-toolbox/[email protected]-py39
3333
if: steps.changes.outputs.code == 'true'
3434
with:
3535
pre-build-command: python -m pip install tox

.github/workflows/octocheese.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: 0 12 * * *
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
Run:
1114
runs-on: ubuntu-latest

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
159159
- name: Upload distribution to PyPI 🚀
160160
if: startsWith(github.ref, 'refs/tags/')
161-
uses: pypa/gh-action-pypi-publish@v1.4.2
161+
uses: pypa/gh-action-pypi-publish@v1.13.0
162162
with:
163163
user: __token__
164164
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.7", os-ver: "13", testenvs: "py37,build", experimental: False}
31+
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37,build", experimental: False}
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
- id: bind-requirements
4444

4545
- repo: https://github.com/python-formate/flake8-dunder-all
46-
rev: v0.4.1
46+
rev: v0.5.0
4747
hooks:
4848
- id: ensure-dunder-all
4949
files: ^mh_utils/.*\.py$
@@ -62,11 +62,11 @@ repos:
6262
- id: rst-inline-touching-normal
6363

6464
- repo: https://github.com/asottile/pyupgrade
65-
rev: v2.12.0
65+
rev: v3.3.0
6666
hooks:
6767
- id: pyupgrade
6868
args:
69-
- --py36-plus
69+
- --py37-plus
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks

doc-source/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
default-values>=0.6.0
2+
docutils<0.22
23
domdf-sphinx-theme>=0.3.0
34
extras-require>=0.5.0
45
html-section>=0.3.0
6+
roman>=4.0
57
seed-intersphinx-mapping>=1.2.2
68
sphinx>=3.0.3
79
sphinx-copybutton>=0.5.2

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ download = True
5656
setenv =
5757
PYTHONDEVMODE=1
5858
PIP_DISABLE_PIP_VERSION_CHECK=1
59-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
6059

6160
[testenv:py312]
6261
download = True
@@ -67,7 +66,7 @@ setenv =
6766
[testenv:docs]
6867
setenv = SHOW_TODOS = 1
6968
passenv = SPHINX_BUILDER
70-
basepython = python3.8
69+
basepython = python3.9
7170
changedir = {toxinidir}/doc-source
7271
deps = -r{toxinidir}/doc-source/requirements.txt
7372
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -111,6 +110,7 @@ deps =
111110
flake8-sphinx-links>=0.0.4
112111
flake8-strftime>=0.1.1
113112
flake8-typing-imports>=1.10.0
113+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
114114
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
115115
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
116116
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods

0 commit comments

Comments
 (0)