Skip to content

Commit 62aafca

Browse files
[repo-helper] Configuration Update (#45)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. --------- Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent ae5dc4d commit 62aafca

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
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_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

doc-source/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
git+https://github.com/domdfcoding/sphinx-click.git
22
git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental.git
33
default-values>=0.6.0
4+
docutils<0.22
45
extras-require>=0.5.0
56
furo==2021.06.18b36
67
html-section>=0.3.0
8+
roman>=4.0
79
seed-intersphinx-mapping>=1.2.2
810
sphinx>=3.0.3
911
sphinx-copybutton>=0.2.12

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ download = True
7575
setenv =
7676
PYTHONDEVMODE=1
7777
PIP_DISABLE_PIP_VERSION_CHECK=1
78-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
7978

8079
[testenv:py312]
8180
download = True
@@ -86,7 +85,7 @@ setenv =
8685
[testenv:docs]
8786
setenv = SHOW_TODOS = 1
8887
passenv = SPHINX_BUILDER
89-
basepython = python3.8
88+
basepython = python3.9
9089
changedir = {toxinidir}/doc-source
9190
deps = -r{toxinidir}/doc-source/requirements.txt
9291
commands = 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
247247
setenv =
248248
PYTHONDEVMODE=1
249249
PIP_DISABLE_PIP_VERSION_CHECK=1
250-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)