Skip to content
Open
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
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
rev: v3.21.1
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 25.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.11.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -32,20 +32,20 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/PyCQA/flake8
rev: 7.1.2
rev: 7.3.0
hooks:
- id: flake8
args:
- --max-line-length=100
# https://github.com/PyCQA/pycodestyle/issues/373
- --extend-ignore=E203
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
rev: 7.0.0
hooks:
- id: isort
args: [--profile, black]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.18.2
hooks:
- id: mypy
args: [--show-error-codes, --ignore-missing-imports]
Expand All @@ -57,20 +57,20 @@ repos:
# This file is overridden by a type stub
exclude: "specfile/context_management.py"
- repo: https://github.com/teemtee/tmt.git
rev: 1.43.0
rev: 1.61.0
hooks:
- id: tmt-lint
# linting of the reverse-dependency tests requires internet access
stages: [manual, pre-push]
- repo: https://github.com/packit/pre-commit-hooks
rev: v1.2.0
rev: v1.3.0
hooks:
- id: check-rebase
args:
- https://github.com/packit/specfile.git
stages: [manual, pre-push]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.31.3
rev: 0.35.0
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand All @@ -85,7 +85,7 @@ repos:
- --comment-style
- "#"
- repo: https://github.com/crate-ci/typos
rev: v1.36.2
rev: v1
hooks:
- id: typos
args: [--config, _typos.toml]
Loading