From b365d8a011d74b89990ae047a65d6ea79cfd402e Mon Sep 17 00:00:00 2001 From: Ilya Sytchev Date: Fri, 13 Dec 2024 15:19:02 -0500 Subject: [PATCH] Make mypy config more explicit --- docs/source/development.md | 2 +- mypy.ini | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/development.md b/docs/source/development.md index f9aec7e6..1fb52ea8 100644 --- a/docs/source/development.md +++ b/docs/source/development.md @@ -6,7 +6,7 @@ Information for contributors * Change current directory to the top level of your local Forest repository * Install Forest in editable mode along with development tools: `pip install -e ".[dev]"` * Run code style checks: `flake8` -* Run type hint checks: `mypy -p forest` +* Run type hint checks: `mypy` * Run test suite: `pytest` ### Documentation diff --git a/mypy.ini b/mypy.ini index fa9bffde..99811965 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,6 @@ [mypy] mypy_path = src +packages = forest python_version = 3.11 [mypy-holidays]