Skip to content

Commit 9aa5322

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

File tree

10 files changed

+26
-21
lines changed

10 files changed

+26
-21
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/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: steps.changes.outputs.code == 'true'
3636
uses: "actions/setup-python@v5"
3737
with:
38-
python-version: "3.8"
38+
python-version: "3.9"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
os: ['ubuntu-22.04', 'windows-2019']
23+
os: ['ubuntu-22.04', 'windows-2022']
2424
fail-fast: false
2525

2626
steps:
@@ -40,7 +40,7 @@ jobs:
4040
if: steps.changes.outputs.code == 'true'
4141
uses: "actions/setup-python@v5"
4242
with:
43-
python-version: "3.8"
43+
python-version: "3.9"
4444

4545
- name: Install dependencies 🔧
4646
run: |

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ permissions:
1818

1919
jobs:
2020
tests:
21-
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
22-
runs-on: "windows-2019"
21+
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
22+
runs-on: "windows-2022"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
2525
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
@@ -36,8 +36,8 @@ jobs:
3636
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3737
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
40-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39", experimental: True}
4141

4242
steps:
4343
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

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

.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,7 +1,9 @@
11
default-values>=0.6.0
2+
docutils<0.22
23
domdf-sphinx-theme>=0.3.0
34
extras-require>=0.5.0
45
html-section>=0.3.0
6+
roman>=4.0
57
seed-intersphinx-mapping>=1.2.2
68
sphinx>=3.0.3
79
sphinx-copybutton>=0.2.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ autodoc_exclude_members = [
119119
]
120120

121121
[tool.mypy]
122-
python_version = "3.8"
122+
python_version = "3.9"
123123
namespace_packages = true
124124
check_untyped_defs = true
125125
warn_unused_ignores = true

tox.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ requires =
4545
[envlists]
4646
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
4747
qa = mypy, lint
48-
cov = py38, coverage
48+
cov = py39, coverage
4949

5050
[testenv]
5151
setenv =
@@ -67,7 +67,6 @@ download = True
6767
setenv =
6868
PYTHONDEVMODE=1
6969
PIP_DISABLE_PIP_VERSION_CHECK=1
70-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
7170

7271
[testenv:py312]
7372
download = True
@@ -78,7 +77,7 @@ setenv =
7877
[testenv:docs]
7978
setenv = SHOW_TODOS = 1
8079
passenv = SPHINX_BUILDER
81-
basepython = python3.8
80+
basepython = python3.9
8281
changedir = {toxinidir}/doc-source
8382
deps = -r{toxinidir}/doc-source/requirements.txt
8483
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -102,7 +101,7 @@ commands =
102101
check-wheel-contents dist/
103102

104103
[testenv:lint]
105-
basepython = python3.8
104+
basepython = python3.9
106105
changedir = {toxinidir}
107106
ignore_errors = True
108107
skip_install = True
@@ -122,25 +121,26 @@ deps =
122121
flake8-sphinx-links>=0.0.4
123122
flake8-strftime>=0.1.1
124123
flake8-typing-imports>=1.10.0
124+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
125125
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
126126
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
127127
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
128128
git+https://github.com/python-formate/flake8-missing-annotations.git
129-
pydocstyle>=6.0.0
129+
git+https://github.com/domdfcoding/pydocstyle.git@stub-functions
130130
pygments>=2.7.1
131131
importlib_metadata<4.5.0; python_version<'3.8'
132132
commands = python3 -m flake8_rst_docstrings_sphinx sdjson tests --allow-toolbox {posargs}
133133

134134
[testenv:perflint]
135-
basepython = python3.8
135+
basepython = python3.9
136136
changedir = {toxinidir}
137137
ignore_errors = True
138138
skip_install = True
139139
deps = perflint
140140
commands = python3 -m perflint sdjson {posargs}
141141

142142
[testenv:mypy]
143-
basepython = python3.8
143+
basepython = python3.9
144144
ignore_errors = True
145145
changedir = {toxinidir}
146146
deps =
@@ -150,15 +150,15 @@ deps =
150150
commands = mypy sdjson tests {posargs}
151151

152152
[testenv:pyup]
153-
basepython = python3.8
153+
basepython = python3.9
154154
skip_install = True
155155
ignore_errors = True
156156
changedir = {toxinidir}
157157
deps = pyupgrade-directories
158158
commands = pyup_dirs sdjson tests --py36-plus --recursive
159159

160160
[testenv:coverage]
161-
basepython = python3.8
161+
basepython = python3.9
162162
skip_install = True
163163
ignore_errors = True
164164
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)