File tree Expand file tree Collapse file tree 6 files changed +11
-5
lines changed
Expand file tree Collapse file tree 6 files changed +11
-5
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 @@ -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 }}
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 11default-values >= 0.6.0
2+ docutils < 0.22
23extras-require >= 0.5.0
34furo == 2021.06.18b36
45html-section >= 0.3.0
6+ roman >= 4.0
57seed-intersphinx-mapping >= 1.2.2
68sphinx >= 3.0.3
79sphinx-copybutton >= 0.5.2
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ setenv =
7777[testenv:docs]
7878setenv = SHOW_TODOS = 1
7979passenv = SPHINX_BUILDER
80- basepython = python3.8
80+ basepython = python3.9
8181changedir = {toxinidir}/doc-source
8282deps = -r{toxinidir}/doc-source/requirements.txt
8383commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -121,6 +121,7 @@ deps =
121121 flake8-sphinx-links>=0.0.4
122122 flake8-strftime>=0.1.1
123123 flake8-typing-imports>=1.10.0
124+ git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
124125 git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
125126 git+https://github.com/domdfcoding/flake8-rst-docstrings.git
126127 git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
You can’t perform that action at this time.
0 commit comments