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
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ updates:
actions:
patterns:
- "*"
cooldown:
default-days: 7

- package-ecosystem: pip
directory: "/"
Expand All @@ -19,3 +21,5 @@ updates:
pip:
patterns:
- "*"
cooldown:
default-days: 7
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Lint

on: [push, pull_request, workflow_dispatch]

permissions: {}

env:
FORCE_COLOR: 1

permissions:
contents: read
RUFF_OUTPUT_FORMAT: github

jobs:
lint:
Expand All @@ -20,7 +20,7 @@ jobs:
with:
python-version: "3.x"
cache: pip
- uses: pre-commit/action@v3.0.1
- uses: j178/prek-action@91fd7d7cf70ae1dee9f4f44e7dfa5d1073fe6623 # v1.0.11

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
tox -e py

- name: Upload coverage
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
token: ${{ secrets.CODECOV_ORG_TOKEN }}
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit?target=https://github.com
rev: v0.9.6
rev: v0.14.10
hooks:
- id: ruff
- id: ruff-check
args: [--exit-non-zero-on-fix]

- repo: https://github.com/psf/black-pre-commit-mirror?target=https://github.com
rev: 25.1.0
rev: 25.12.0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks?target=https://github.com
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -25,33 +25,33 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema?target=https://github.com
rev: 0.31.1
rev: 0.36.0
hooks:
- id: check-dependabot
- id: check-github-workflows

- repo: https://github.com/rhysd/actionlint?target=https://github.com
rev: v1.7.7
rev: v1.7.10
hooks:
- id: actionlint

- repo: https://github.com/woodruffw/zizmor-pre-commit?target=https://github.com
rev: v1.3.1
rev: v1.19.0
hooks:
- id: zizmor

- repo: https://github.com/tox-dev/pyproject-fmt?target=https://github.com
rev: v2.5.0
rev: v2.11.1
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject?target=https://github.com
rev: v0.23
rev: v0.24.1
hooks:
- id: validate-pyproject

- repo: https://github.com/tox-dev/tox-ini-fmt?target=https://github.com
rev: 1.5.0
rev: 1.7.1
hooks:
- id: tox-ini-fmt

Expand Down
3 changes: 1 addition & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@
import subprocess
import sys
import tempfile
from collections.abc import Generator, Sequence
from collections.abc import Callable, Generator, Sequence
from contextlib import contextmanager
from dataclasses import dataclass
from pathlib import Path
from typing import (
Any,
Callable,
Literal,
Protocol,
Self,
Expand Down