Skip to content

Commit 095ff00

Browse files
committed
Use 3.14 in CI and update pre-commit hooks
1 parent 9a6cebd commit 095ff00

8 files changed

Lines changed: 101 additions & 101 deletions

File tree

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ updates:
1010
directory: "/" # Location of package manifests
1111
schedule:
1212
interval: "weekly"
13+
cooldown:
14+
default-days: 7

.github/workflows/autodeps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: "3.12"
29+
python-version: "3.14"
3030

3131
- name: Bump dependencies
3232
run: |

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python: ['3.10', '3.11', '3.12', '3.13']
23+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
2424
arch: ['x86', 'x64']
2525
continue-on-error: >-
2626
${{
@@ -62,11 +62,11 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
python: ['3.10', '3.11', '3.12', '3.13']
65+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
6666
check_formatting: ['0']
6767
extra_name: ['']
6868
include:
69-
- python: '3.12'
69+
- python: '3.14'
7070
check_formatting: '1'
7171
extra_name: ', check formatting'
7272
continue-on-error: >-
@@ -107,7 +107,7 @@ jobs:
107107
strategy:
108108
fail-fast: false
109109
matrix:
110-
python: ['3.10', '3.11', '3.12', '3.13']
110+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
111111
continue-on-error: >-
112112
${{
113113
(

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,18 @@ repos:
3131
rev: v0.9.6
3232
hooks:
3333
- id: badgie
34+
- repo: https://github.com/codespell-project/codespell
35+
rev: v2.4.1
36+
hooks:
37+
- id: codespell
38+
additional_dependencies:
39+
- tomli
3440
- repo: https://github.com/adhtruong/mirrors-typos
3541
rev: v1.41.0
3642
hooks:
3743
- id: typos
3844
- repo: https://github.com/woodruffw/zizmor-pre-commit
39-
rev: v1.19.0
45+
rev: v1.20.0
4046
hooks:
4147
- id: zizmor
48+
args: ["--fix", "--no-progress"]

check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ if git status --porcelain | grep -q "uv.lock"; then
8181
echo "::endgroup::"
8282
fi
8383

84+
codespell || EXIT_STATUS=$?
85+
8486
# Finally, leave a really clear warning of any issues and exit
8587
if [ $EXIT_STATUS -ne 0 ]; then
8688
cat <<EOF

pyproject.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
2424
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2526
"Programming Language :: Python :: 3 :: Only",
2627
"Topic :: Software Development",
2728
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
@@ -42,14 +43,14 @@ tests = [
4243
"pytest>=5.0",
4344
"pytest-cov>=6.0.0",
4445
"coverage>=7.2.5",
45-
"uv>=0.5.21",
4646
]
4747
tools = [
48+
"uv>=0.5.21",
4849
"ruff>=0.9.2",
4950
"codespell>=2.3.0",
5051
"pre-commit>=4.2.0",
5152
"attrs>=25.3.0",
52-
"mypy>=1.17.0",
53+
"mypy>=1.19.1",
5354
"types-idlelib>=0.0.0",
5455
]
5556

@@ -65,7 +66,10 @@ idlereload = "idlereload:check_installed"
6566
idlereload = ["py.typed"]
6667

6768
[tool.mypy]
68-
files = ["src/idlereload/", "tests"]
69+
files = [
70+
"src/idlereload/",
71+
"tests",
72+
]
6973
enable_error_code = [
7074
"truthy-bool",
7175
"mutable-override",
@@ -162,7 +166,7 @@ extend-ignore = [
162166
]
163167

164168
[tool.pytest.ini_options]
165-
addopts = "--cov-report=xml --cov-report=term-missing --cov=idlereload"
169+
addopts = "--cov-report=term-missing --cov=idlereload"
166170
testpaths = [
167171
"tests",
168172
]

scripts/build.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

uv.lock

Lines changed: 76 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)