File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2626 entry : ./run-mypy.sh
2727 language : script
2828 types : [python]
29+ require-serial : true
2930
3031- id : todo-check
3132 name : Check for `todo`s
Original file line number Diff line number Diff line change 9898 - id : trailing-whitespace
9999
100100 - repo : https://github.com/George-Ogden/pre-commit-hooks/
101- rev : v1.4.1
101+ rev : v1.4.2
102102 hooks :
103103 - id : dbg-check
104104 exclude : ^test/
Original file line number Diff line number Diff line change 11[project ]
22name = " Pre-Commit-Hooks"
3- version = " 1.4.1 "
3+ version = " 1.4.2 "
44requires-python = " >=3.9,<3.14"
55
66[project .scripts ]
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ DIRECTORY=$(dirname $0)
66LOG=` mktemp`
77
88pre-commit try-repo . dict-rewrite -v --files $DIRECTORY /test_data/errors.py | tee $LOG && exit 1
9+ grep -F ' errors.py:1:5: {"a": 1}' $LOG
910grep -F ' errors.py:4:5: {"a": 3, "b": 4}' $LOG
1011grep -F ' errors.py:5:5: {"book_mark": 3}' $LOG
1112grep -F ' errors.py:6:21: {"a": 4, "d": 4}' $LOG
You can’t perform that action at this time.
0 commit comments