Skip to content

Commit fa02f1e

Browse files
[pre-commit.ci] pre-commit autoupdate (#185)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: S. Co1 <[email protected]>
1 parent d869275 commit fa02f1e

File tree

6 files changed

+367
-312
lines changed

6 files changed

+367
-312
lines changed

.github/workflows/lint_test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717

1818
- name: Set up Python
1919
uses: actions/setup-python@v6
2020
with:
2121
python-version-file: "pyproject.toml"
2222

2323
- name: Install uv
24-
uses: astral-sh/setup-uv@v6
24+
uses: astral-sh/setup-uv@v7
2525
with:
26-
version: "0.8.x"
26+
version: "0.9.x"
2727
enable-cache: true
2828
cache-dependency-glob: "uv.lock"
2929

@@ -38,11 +38,11 @@ jobs:
3838
runs-on: ubuntu-latest
3939
strategy:
4040
matrix:
41-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14-dev"]
41+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4242
fail-fast: false
4343

4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
4646

4747
- name: Get Non-Hyphenated Python Version
4848
id: get-pyver
@@ -62,9 +62,9 @@ jobs:
6262
python-version: ${{ matrix.python-version }}
6363

6464
- name: Install uv
65-
uses: astral-sh/setup-uv@v6
65+
uses: astral-sh/setup-uv@v7
6666
with:
67-
version: "0.8.x"
67+
version: "0.9.x"
6868
enable-cache: true
6969
cache-dependency-glob: "uv.lock"
7070

@@ -90,15 +90,15 @@ jobs:
9090
needs: test
9191

9292
steps:
93-
- uses: actions/checkout@v4
93+
- uses: actions/checkout@v5
9494

9595
- name: Set up Python
9696
uses: actions/setup-python@v6
9797
with:
9898
python-version-file: "pyproject.toml"
9999

100100
- name: Pull coverage workflow artifacts
101-
uses: actions/download-artifact@v4
101+
uses: actions/download-artifact@v5
102102
with:
103103
path: cov_cache/
104104

.github/workflows/pypi_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
id-token: write
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

2121
- name: Install uv
22-
uses: astral-sh/setup-uv@v6
22+
uses: astral-sh/setup-uv@v7
2323
with:
24-
version: "0.8.x"
24+
version: "0.9.x"
2525
enable-cache: true
2626
cache-dependency-glob: "uv.lock"
2727

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ ci:
33
autoupdate_schedule: quarterly
44

55
repos:
6-
- repo: https://github.com/psf/black
7-
rev: 25.1.0
6+
- repo: https://github.com/psf/black-pre-commit-mirror
7+
rev: 25.9.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/pycqa/isort
11-
rev: 6.0.1
11+
rev: 6.1.0
1212
hooks:
1313
- id: isort
1414
name: isort
@@ -27,7 +27,7 @@ repos:
2727
- id: python-check-blanket-type-ignore
2828
exclude: "test_type_ignore.py"
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: v0.12.12
30+
rev: v0.14.0
3131
hooks:
3232
- id: ruff-check
3333
- repo: local

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cog.out(
3131
]]] -->
3232
```bash
3333
$ flake8 --version
34-
7.3.0 (flake8-annotations: 3.1.1, mccabe: 0.7.0, pycodestyle: 2.14.0, pyflakes: 3.4.0) CPython 3.13.5 on Windows
34+
7.3.0 (flake8-annotations: 3.1.1, mccabe: 0.7.0, pycodestyle: 2.14.0, pyflakes: 3.4.0) CPython 3.14.0 on Darwin
3535
```
3636
<!-- [[[end]]] -->
3737

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Changelog = "https://github.com/sco1/flake8-annotations/blob/main/CHANGELOG.md"
4343
[project.entry-points."flake8.extension"]
4444
"ANN" = "flake8_annotations.checker:TypeHintChecker"
4545

46-
[tool.uv]
47-
dev-dependencies = [
46+
[dependency-groups]
47+
dev = [
4848
"black~=25.0",
4949
"bump2version~=1.0",
5050
"cogapp~=3.3",
@@ -53,8 +53,8 @@ dev-dependencies = [
5353
"pre-commit~=4.0",
5454
"pytest~=8.3",
5555
"pytest-check~=2.4",
56-
"pytest-cov~=6.0",
57-
"pytest-randomly~=3.15",
56+
"pytest-cov~=7.0",
57+
"pytest-randomly~=4.0",
5858
"ruff~=0.6",
5959
"tox~=4.18",
6060
"tox-uv~=1.11",
@@ -77,6 +77,7 @@ disallow_incomplete_defs = true
7777
disallow_untyped_calls = true
7878
disallow_untyped_decorators = true
7979
disallow_untyped_defs = true
80+
enable_error_code = "exhaustive-match"
8081
ignore_missing_imports = true
8182
no_implicit_optional = true
8283
show_error_codes = true

0 commit comments

Comments
 (0)