Skip to content

Commit b035198

Browse files
Updated files with 'repo_helper'. (#58)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 2f928f7 commit b035198

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-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
@@ -155,7 +155,7 @@ jobs:
155155
156156
- name: Upload distribution to PyPI 🚀
157157
if: startsWith(github.ref, 'refs/tags/')
158-
uses: pypa/gh-action-pypi-publish@v1.4.2
158+
uses: pypa/gh-action-pypi-publish@v1.13.0
159159
with:
160160
user: __token__
161161
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.7", os-ver: "13", testenvs: "py37,build", experimental: False}
31+
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37,build", experimental: False}
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}

.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: ^notebook2script/.*\.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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ setenv =
5454
[testenv:docs]
5555
setenv = SHOW_TODOS = 1
5656
passenv = SPHINX_BUILDER
57-
basepython = python3.8
57+
basepython = python3.9
5858
changedir = {toxinidir}/doc-source
5959
deps = -r{toxinidir}/doc-source/requirements.txt
6060
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -98,6 +98,7 @@ deps =
9898
flake8-sphinx-links>=0.0.4
9999
flake8-strftime>=0.1.1
100100
flake8-typing-imports>=1.10.0
101+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
101102
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
102103
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
103104
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods

0 commit comments

Comments
 (0)