Skip to content
Open
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -17,29 +17,29 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/psf/black
rev: 23.3.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.3.0
hooks:
- id: flake8
args:
- --max-line-length=88
- --extend-ignore=E203

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.19.1
hooks:
- id: mypy

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.21.2
hooks:
- id: pyupgrade
2 changes: 1 addition & 1 deletion pre_commit_hooks/source0_uses_version_macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

when version in spec file is changed -> it should be seen in source0
"""

import sys
import uuid
from os import getcwd
Expand All @@ -12,7 +13,6 @@

from specfile import Specfile


SPEC_ERR_MSG = (
"No related macro with version in source0 found. Please use "
"some macro in source0 so when you change version in spec "
Expand Down