Skip to content

Commit fcfcf34

Browse files
Updated files with 'repo_helper'.
1 parent 4ce0b86 commit fcfcf34

8 files changed

Lines changed: 21 additions & 18 deletions

File tree

.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,pypy-3.7,pypy-3.8,pypy-3.9'

.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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ name = "aaaaa_emoji_strings"
3838
pth-content = "import sys, emoji_strings; del sys.modules['emoji_strings']\n"
3939

4040
[tool.mypy]
41-
python_version = "3.8"
41+
python_version = "3.9"
4242
namespace_packages = true
4343
check_untyped_defs = true
4444
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
@@ -94,7 +93,7 @@ commands =
9493
check-wheel-contents dist/
9594

9695
[testenv:lint]
97-
basepython = python3.8
96+
basepython = python3.9
9897
changedir = {toxinidir}
9998
ignore_errors = True
10099
skip_install = True
@@ -114,43 +113,44 @@ deps =
114113
flake8-sphinx-links>=0.0.4
115114
flake8-strftime>=0.1.1
116115
flake8-typing-imports>=1.10.0
116+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
117117
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
118118
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
119119
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
120120
git+https://github.com/python-formate/flake8-missing-annotations.git
121-
pydocstyle>=6.0.0
121+
git+https://github.com/domdfcoding/pydocstyle.git@stub-functions
122122
pygments>=2.7.1
123123
importlib_metadata<4.5.0; python_version<'3.8'
124124
commands = python3 -m flake8_rst_docstrings_sphinx emoji_strings tests --allow-toolbox {posargs}
125125

126126
[testenv:perflint]
127-
basepython = python3.8
127+
basepython = python3.9
128128
changedir = {toxinidir}
129129
ignore_errors = True
130130
skip_install = True
131131
deps = perflint
132132
commands = python3 -m perflint emoji_strings {posargs}
133133

134134
[testenv:mypy]
135-
basepython = python3.8
135+
basepython = python3.9
136136
ignore_errors = True
137137
changedir = {toxinidir}
138138
deps =
139-
mypy==0.971
139+
mypy==1.17.1
140140
-r{toxinidir}/tests/requirements.txt
141141
-r{toxinidir}/stubs.txt
142142
commands = mypy emoji_strings tests {posargs}
143143

144144
[testenv:pyup]
145-
basepython = python3.8
145+
basepython = python3.9
146146
skip_install = True
147147
ignore_errors = True
148148
changedir = {toxinidir}
149149
deps = pyupgrade-directories
150150
commands = pyup_dirs emoji_strings tests --py36-plus --recursive
151151

152152
[testenv:coverage]
153-
basepython = python3.8
153+
basepython = python3.9
154154
skip_install = True
155155
ignore_errors = True
156156
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)