From 59499cedaa9ad9e7ab362cb78529709a4d79ee43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Deppierraz?= Date: Tue, 27 May 2025 12:04:09 -0400 Subject: [PATCH] Fix typo in CONTRIBUTING.md (#19597) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 601bc8fbaa..a483cfcbc1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -57,8 +57,8 @@ to configure how the tests are run. For example, for more logging: change the lo ```bash sh install.sh -d . ./activate -ruff format && ruff check --fix && mypy -pytest tests -v --durations 0 +ruff format && ruff check --fix && mypy . +pytest . -v --durations 0 ``` The [Mypy library](https://mypy.readthedocs.io/en/stable/) is very useful for ensuring objects are of the correct type, so try to always add the type of the return value, and the type of local variables.