File tree Expand file tree Collapse file tree 6 files changed +11
-7
lines changed
Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 66 schedule :
77 - cron : 0 12 * * *
88
9+ permissions :
10+ contents : write
11+
912jobs :
1013 Run :
1114 runs-on : ubuntu-latest
Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change @@ -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
Original file line number Diff line number Diff line change 11git+https://github.com/domdfcoding/sphinx-click.git
22git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental.git
33default-values >= 0.6.0
4+ docutils < 0.22
45extras-require >= 0.5.0
56furo == 2021.06.18b36
67html-section >= 0.3.0
8+ roman >= 4.0
79seed-intersphinx-mapping >= 1.2.2
810sphinx >= 3.0.3
911sphinx-copybutton >= 0.2.12
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ download = True
7575setenv =
7676 PYTHONDEVMODE =1
7777 PIP_DISABLE_PIP_VERSION_CHECK =1
78- UNSAFE_PYO3_SKIP_VERSION_CHECK =1
7978
8079[testenv:py312]
8180download = True
@@ -86,7 +85,7 @@ setenv =
8685[testenv:docs]
8786setenv = SHOW_TODOS = 1
8887passenv = SPHINX_BUILDER
89- basepython = python3.8
88+ basepython = python3.9
9089changedir = {toxinidir}/doc-source
9190deps = -r{toxinidir}/doc-source/requirements.txt
9291commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -130,6 +129,7 @@ deps =
130129 flake8-sphinx-links>=0.0.4
131130 flake8-strftime>=0.1.1
132131 flake8-typing-imports>=1.10.0
132+ git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
133133 git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
134134 git+https://github.com/domdfcoding/flake8-rst-docstrings.git
135135 git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -247,4 +247,3 @@ download = True
247247setenv =
248248 PYTHONDEVMODE=1
249249 PIP_DISABLE_PIP_VERSION_CHECK=1
250- UNSAFE_PYO3_SKIP_VERSION_CHECK=1
You can’t perform that action at this time.
0 commit comments