Skip to content

Commit 7f4408a

Browse files
Updated files with 'repo_helper'.
1 parent e949027 commit 7f4408a

File tree

11 files changed

+29
-27
lines changed

11 files changed

+29
-27
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-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py312-mypy{1.0.1,1.2.0,1.4.1,1.6.1,latest},py312-sphinx{4,5,6,7},build", experimental: True}
3737
- {python-version: "3.13", testenvs: "py313-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py313-mypy{1.0.1,1.2.0,1.4.1,1.6.1,latest},py313-sphinx{6,7},build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37-attrs{21.3,21.4,22.2,23.1,23.2,24.2,latest},pypy37-sphinx{4,5},build", experimental: False}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},pypy38-sphinx{4,5,6,7},build", experimental: True}
40-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},pypy39-sphinx{4,5,6,7},build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},pypy38-sphinx{4,5,6,7}", experimental: True}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},pypy39-sphinx{4,5,6,7}", 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 }}

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.7", os-ver: "13", testenvs: "py37-attrs{21.3,21.4,22.2,23.1,23.2,24.2,latest},py37-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1},py37-sphinx{4,5},build", experimental: False}
31+
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37-attrs{21.3,21.4,22.2,23.1,23.2,24.2,latest},py37-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1},py37-sphinx{4,5},build", experimental: False}
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py38-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,1.6.1,latest},py38-sphinx{4,5,6,7},build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py39-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,1.6.1,latest},py39-sphinx{4,5,6,7},build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py310-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,1.6.1,latest},py310-sphinx{4,5,6,7},build", experimental: False}
3535
- {python-version: "3.11", os-ver: "14", testenvs: "py311-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py311-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,1.6.1,latest},py311-sphinx{4,5,6,7},build", experimental: False}
3636
- {python-version: "3.12", os-ver: "14", testenvs: "py312-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py312-mypy{1.0.1,1.2.0,1.4.1,1.6.1,latest},py312-sphinx{4,5,6,7},build", experimental: True}
3737
- {python-version: "3.13", os-ver: "14", testenvs: "py313-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},py313-mypy{1.0.1,1.2.0,1.4.1,1.6.1,latest},py313-sphinx{6,7},build", experimental: False}
38-
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37-attrs{21.3,21.4,22.2,23.1,23.2,24.2,latest},pypy37-sphinx{4,5},build", experimental: False}
38+
- {python-version: "pypy-3.7", os-ver: "15-intel", testenvs: "pypy37-attrs{21.3,21.4,22.2,23.1,23.2,24.2,latest},pypy37-sphinx{4,5},build", experimental: False}
3939
- {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},pypy38-sphinx{4,5,6,7},build", experimental: True}
4040
- {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest},pypy39-sphinx{4,5,6,7},build", experimental: True}
4141

.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: ^attr_utils/.*\.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,10 +1,12 @@
11
git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental
22
default-values>=0.6.0
3+
docutils<0.22
34
domdf-sphinx-theme>=0.3.0
45
extras-require>=0.5.0
56
html-section>=0.3.0
67
mypy>=0.782
78
pyyaml>=5.3.1
9+
roman>=4.0
810
seed-intersphinx-mapping>=1.2.2
911
sphinx>=3.0.3
1012
sphinx-copybutton>=0.2.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ platforms = [ "Windows", "macOS", "Linux",]
128128
license-key = "MIT"
129129

130130
[tool.mypy]
131-
python_version = "3.8"
131+
python_version = "3.9"
132132
namespace_packages = true
133133
check_untyped_defs = true
134134
warn_unused_ignores = true

0 commit comments

Comments
 (0)