Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v7
with:
version: "0.8.x"
version: "0.9.x"
enable-cache: true
cache-dependency-glob: "uv.lock"

Expand All @@ -38,11 +38,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14-dev"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v7
with:
version: "0.8.x"
version: "0.9.x"
enable-cache: true
cache-dependency-glob: "uv.lock"

Expand All @@ -90,15 +90,15 @@ jobs:
needs: test

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

- name: Pull coverage workflow artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
path: cov_cache/

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v7
with:
version: "0.8.x"
version: "0.9.x"
enable-cache: true
cache-dependency-glob: "uv.lock"

Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ ci:
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/psf/black
rev: 25.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 6.0.1
rev: 6.1.0
hooks:
- id: isort
name: isort
Expand All @@ -27,7 +27,7 @@ repos:
- id: python-check-blanket-type-ignore
exclude: "test_type_ignore.py"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.12
rev: v0.14.0
hooks:
- id: ruff-check
- repo: local
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cog.out(
]]] -->
```bash
$ flake8 --version
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
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
```
<!-- [[[end]]] -->

Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Changelog = "https://github.com/sco1/flake8-annotations/blob/main/CHANGELOG.md"
[project.entry-points."flake8.extension"]
"ANN" = "flake8_annotations.checker:TypeHintChecker"

[tool.uv]
dev-dependencies = [
[dependency-groups]
dev = [
"black~=25.0",
"bump2version~=1.0",
"cogapp~=3.3",
Expand All @@ -53,8 +53,8 @@ dev-dependencies = [
"pre-commit~=4.0",
"pytest~=8.3",
"pytest-check~=2.4",
"pytest-cov~=6.0",
"pytest-randomly~=3.15",
"pytest-cov~=7.0",
"pytest-randomly~=4.0",
"ruff~=0.6",
"tox~=4.18",
"tox-uv~=1.11",
Expand All @@ -77,6 +77,7 @@ disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_error_code = "exhaustive-match"
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
Expand Down
Loading