Skip to content

Commit a2afccc

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

File tree

8 files changed

+20
-17
lines changed

8 files changed

+20
-17
lines changed

.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: 2 additions & 2 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'

.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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ license-key = "MIT"
3939
package = "formate_black"
4040

4141
[tool.mypy]
42-
python_version = "3.8"
42+
python_version = "3.9"
4343
namespace_packages = true
4444
check_untyped_defs = true
4545
warn_unused_ignores = true

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ requires =
3333
[envlists]
3434
test = py37, py38, py39, py310, py311, py312, py313
3535
qa = mypy, lint
36-
cov = py38, coverage
36+
cov = py39, coverage
3737

3838
[testenv]
3939
setenv =
@@ -55,7 +55,6 @@ download = True
5555
setenv =
5656
PYTHONDEVMODE=1
5757
PIP_DISABLE_PIP_VERSION_CHECK=1
58-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
5958

6059
[testenv:py312]
6160
download = True
@@ -82,7 +81,7 @@ commands =
8281
check-wheel-contents dist/
8382

8483
[testenv:lint]
85-
basepython = python3.8
84+
basepython = python3.9
8685
changedir = {toxinidir}
8786
ignore_errors = True
8887
skip_install = True
@@ -102,6 +101,7 @@ deps =
102101
flake8-sphinx-links>=0.0.4
103102
flake8-strftime>=0.1.1
104103
flake8-typing-imports>=1.10.0
104+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
105105
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
106106
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
107107
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -112,33 +112,33 @@ deps =
112112
commands = python3 -m flake8_rst_docstrings_sphinx formate_black tests --allow-toolbox {posargs}
113113

114114
[testenv:perflint]
115-
basepython = python3.8
115+
basepython = python3.9
116116
changedir = {toxinidir}
117117
ignore_errors = True
118118
skip_install = True
119119
deps = perflint
120120
commands = python3 -m perflint formate_black {posargs}
121121

122122
[testenv:mypy]
123-
basepython = python3.8
123+
basepython = python3.9
124124
ignore_errors = True
125125
changedir = {toxinidir}
126126
deps =
127-
mypy==0.971
127+
mypy==1.17.1
128128
-r{toxinidir}/tests/requirements.txt
129129
types-attrs>=0.2.0
130130
commands = mypy formate_black tests {posargs}
131131

132132
[testenv:pyup]
133-
basepython = python3.8
133+
basepython = python3.9
134134
skip_install = True
135135
ignore_errors = True
136136
changedir = {toxinidir}
137137
deps = pyupgrade-directories
138138
commands = pyup_dirs formate_black tests --py36-plus --recursive
139139

140140
[testenv:coverage]
141-
basepython = python3.8
141+
basepython = python3.9
142142
skip_install = True
143143
ignore_errors = True
144144
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)