Skip to content

Commit 3106966

Browse files
authored
Merge pull request #55 from George-Ogden/mypy-system
Install Mypy as Non System Requirement
2 parents bcee6a5 + 12a074a commit 3106966

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ repos:
8989
- --fix
9090

9191
- repo: https://github.com/George-Ogden/pre-commit-hooks/
92-
rev: v2.0.1
92+
rev: v2.0.2
9393
hooks:
9494
- id: dbg-check
9595
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 = "2.0.1"
3+
version = "2.0.2"
44
requires-python = ">=3.9,<3.15"
55

66
[build-system]

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
-r requirements.txt
22
GitPython
3+
pip
34
pre-commit
45
pytest
6+
pytest-xdist
57
wcwidth

run-mypy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ if [[ ! -z "$REQUIREMENTS_FILE" ]]; then
2525
REQUIREMENTS+=("-r$REQUIREMENTS_FILE")
2626
fi
2727

28-
pip install uv -qqq && uv pip install "${REQUIREMENTS[@]}" --system -qqq && mypy "${MYPY_ARGS[@]}"
28+
pip install uv -qqq && (uv pip install "${REQUIREMENTS[@]}" -qqq || uv pip install "${REQUIREMENTS[@]}" --system -qqq) && mypy "${MYPY_ARGS[@]}"

0 commit comments

Comments
 (0)