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 11git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental
22default-values >= 0.6.0
3+ docutils < 0.22
34extras-require >= 0.5.0
45furo == 2021.06.18b36
56html-section >= 0.3.0
67pyyaml >= 5.3.1
78repo-helper-sphinx-theme >= 0.0.2
9+ roman >= 4.0
810seed-intersphinx-mapping >= 1.2.2
911sphinx >= 3.0.3
1012sphinx-copybutton >= 0.5.2
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ setenv =
7878[testenv:docs]
7979setenv = SHOW_TODOS = 1
8080passenv = SPHINX_BUILDER
81- basepython = python3.8
81+ basepython = python3.9
8282changedir = {toxinidir}/doc-source
8383deps = -r{toxinidir}/doc-source/requirements.txt
8484commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -122,6 +122,7 @@ deps =
122122 flake8-sphinx-links>=0.0.4
123123 flake8-strftime>=0.1.1
124124 flake8-typing-imports>=1.10.0
125+ git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
125126 git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
126127 git+https://github.com/domdfcoding/flake8-rst-docstrings.git
127128 git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
You can’t perform that action at this time.
0 commit comments