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
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
with:
python-version: "3.x"
cache: pip
- uses: pre-commit/action@v3.0.1
- uses: j178/prek-action@v1
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
rev: v0.15.6
hooks:
- id: ruff-check
args: [--exit-non-zero-on-fix]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
rev: 26.3.1
hooks:
- id: black
args: [--target-version=py311]
Expand All @@ -25,12 +25,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.11.1
rev: v2.19.0
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
rev: v0.25
hooks:
- id: validate-pyproject

Expand All @@ -40,7 +40,7 @@ repos:
- id: tox-ini-fmt

- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.7.4
rev: v3.8.1
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
Expand Down
1 change: 1 addition & 0 deletions bpo_redirecter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""
Update BPO links to GH issues in a file or directory of files
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions conflicted.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""
Find which of my PRs have merge conflicts.
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions github-repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""
Show which non-fork repos I created this year.
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions hacktoberfest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
You can then run `diffstat /tmp/hacktoberfest/*.diff` to get a summary:
714 files changed, 9843 insertions(+), 13719 deletions(-)
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tool.ruff]
fix = true

lint.select = [
"C4", # flake8-comprehensions
"E", # pycodestyle errors
Expand Down
1 change: 1 addition & 0 deletions repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
repo branches
upstream pulls
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions upgrade_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

uv run ~/github/github-tools/upgrade_actions.py
"""

from __future__ import annotations

import argparse
Expand Down
Loading