Skip to content

Commit b529664

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

6 files changed

Lines changed: 10 additions & 5 deletions

File tree

.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 }}

.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-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3},py37-docutils{0.16,0.17,0.18},build", experimental: False}
31+
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3},py37-docutils{0.16,0.17,0.18},build", experimental: False}
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1},py38-docutils{0.16,0.17,0.18},build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2,7.3,7.4},py39-docutils{0.16,0.17,0.18},build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2,7.3,7.4,8.0,8.1},py310-docutils{0.16,0.17,0.18},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: ^html_section/.*\.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

formate.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ known_third_party = [
3131
"coincidence",
3232
"coverage",
3333
"coverage_pyver_pragma",
34+
"defusedxml",
3435
"docutils",
3536
"domdf_python_tools",
3637
"importlib_metadata",

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ deps =
109109
flake8-sphinx-links>=0.0.4
110110
flake8-strftime>=0.1.1
111111
flake8-typing-imports>=1.10.0
112+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
112113
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
113114
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
114115
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods

0 commit comments

Comments
 (0)