Skip to content

Commit a53d2dc

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

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
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/sphinx-action@sphinx-3.3.1
32+
uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1-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.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3737
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
40-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39", experimental: True}
4141

4242
steps:
4343
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

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

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ 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}
3535
- {python-version: "3.11", os-ver: "14", testenvs: "py311,build", experimental: False}
3636
- {python-version: "3.12", os-ver: "14", testenvs: "py312,build", experimental: False}
3737
- {python-version: "3.13", os-ver: "14", testenvs: "py313,build", experimental: False}
38-
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37,build", experimental: False}
38+
- {python-version: "pypy-3.7", os-ver: "15-intel", testenvs: "pypy37,build", experimental: False}
3939
- {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38,build", experimental: False}
4040
- {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39,build", experimental: True}
4141

.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: ^flake8_strftime/.*\.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,10 +1,12 @@
11
git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental
22
default-values>=0.6.0
3+
docutils<0.22
34
extras-require>=0.5.0
45
furo==2021.06.18b36
56
html-section>=0.3.0
67
pyyaml>=5.3.1
78
repo-helper-sphinx-theme>=0.0.2
9+
roman>=4.0
810
seed-intersphinx-mapping>=1.2.2
911
sphinx>=3.0.3
1012
sphinx-copybutton>=0.5.2

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ download = True
6868
setenv =
6969
PYTHONDEVMODE=1
7070
PIP_DISABLE_PIP_VERSION_CHECK=1
71-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
7271

7372
[testenv:py312]
7473
download = True
@@ -79,7 +78,7 @@ setenv =
7978
[testenv:docs]
8079
setenv = SHOW_TODOS = 1
8180
passenv = SPHINX_BUILDER
82-
basepython = python3.8
81+
basepython = python3.9
8382
changedir = {toxinidir}/doc-source
8483
deps = -r{toxinidir}/doc-source/requirements.txt
8584
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -123,6 +122,7 @@ deps =
123122
flake8-sphinx-links>=0.0.4
124123
flake8-strftime>=0.1.1
125124
flake8-typing-imports>=1.10.0
125+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
126126
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
127127
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
128128
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods

0 commit comments

Comments
 (0)