You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Unlink the original, this hook takes no arguments.
46
46
47
47
Run [MyPy](#https://github.com/python/mypy) in an environment with dependencies.
48
48
This is intended as an improved version of https://github.com/pre-commit/mirrors-mypy.
49
-
It allows you to pass in a requirements file using the `-r` or `--requirements-file` flag (installed via `pip`). Any additional flags are passed to the `mypy` executable (no defaults).
49
+
It allows you to pass in a requirements file using the `-r` or `--requirements-file` flag (installed via [`uv`](https://docs.astral.sh/uv/)). Any additional flags are passed to the `mypy` executable (no defaults).
50
50
It requires that you have `pip` installed, but if you're using pre-commit, that shouldn't be an issue.
51
51
You can set the MyPy version in the requirements file (eg `mypy==1.17.1`), otherwise, the latest is installed.
0 commit comments