Skip to content

Commit d281130

Browse files
Updated files with 'repo_helper'.
1 parent fb85273 commit d281130

File tree

8 files changed

+16
-12
lines changed

8 files changed

+16
-12
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.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-click{7.1,8.0,8.1},build", experimental: False}
3737
- {python-version: "3.13", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
40-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1}", experimental: False}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-click{7.1,8.0,8.1}", 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-click{7.1,8.0,8.1},build", experimental: False}
31+
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37-click{7.1,8.0,8.1},build", experimental: False}
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38-click{7.1,8.0,8.1},build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.11", os-ver: "14", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.12", os-ver: "14", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
3737
- {python-version: "3.13", os-ver: "14", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False}
38-
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
38+
- {python-version: "pypy-3.7", os-ver: "15-intel", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
3939
- {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4040
- {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39-click{7.1,8.0,8.1},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: ^importcheck/.*\.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,8 +1,10 @@
11
git+https://github.com/domdfcoding/sphinx-click.git
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
7+
roman>=4.0
68
seed-intersphinx-mapping>=1.2.2
79
sphinx>=3.0.3
810
sphinx-copybutton>=0.5.2

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ download = True
8282
setenv =
8383
PYTHONDEVMODE=1
8484
PIP_DISABLE_PIP_VERSION_CHECK=1
85-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
8685

8786
[testenv:py312]
8887
download = True
@@ -93,7 +92,7 @@ setenv =
9392
[testenv:docs]
9493
setenv = SHOW_TODOS = 1
9594
passenv = SPHINX_BUILDER
96-
basepython = python3.8
95+
basepython = python3.9
9796
changedir = {toxinidir}/doc-source
9897
deps = -r{toxinidir}/doc-source/requirements.txt
9998
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -137,6 +136,7 @@ deps =
137136
flake8-sphinx-links>=0.0.4
138137
flake8-strftime>=0.1.1
139138
flake8-typing-imports>=1.10.0
139+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
140140
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
141141
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
142142
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -252,7 +252,6 @@ download = True
252252
setenv =
253253
PYTHONDEVMODE=1
254254
PIP_DISABLE_PIP_VERSION_CHECK=1
255-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
256255
257256
[testenv:py313-dev-click{7.1,8.0,8.1}]
258257
download = True

0 commit comments

Comments
 (0)