Skip to content

Commit 3e35c0c

Browse files
authored
Merge pull request #49 from George-Ogden/serial-mypy
Serial Mypy
2 parents 7235963 + 2881f74 commit 3e35c0c

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ repos:
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/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "Pre-Commit-Hooks"
3-
version = "1.4.1"
3+
version = "1.4.2"
44
requires-python = ">=3.9,<3.14"
55

66
[project.scripts]

tests/dict-rewrite/test_errors.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ DIRECTORY=$(dirname $0)
66
LOG=`mktemp`
77

88
pre-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
910
grep -F 'errors.py:4:5: {"a": 3, "b": 4}' $LOG
1011
grep -F 'errors.py:5:5: {"book_mark": 3}' $LOG
1112
grep -F 'errors.py:6:21: {"a": 4, "d": 4}' $LOG

0 commit comments

Comments
 (0)