feat(mypy): enable type checking for envs module and configure mypy settings in pyproject.toml (#2099)

* feat(mypy): enable type checking for envs module and configure mypy settings in pyproject.toml

* Add mypy configuration to check only the envs module.
* Exclude examples, benchmarks, and tests from type checking.
* Set ignore_missing_imports to true and follow_imports to skip.

* chore: comment out mypy configuration in pyproject.toml and pre-commit-config.yaml

* Comment out mypy settings to disable type checking for the envs module.
* Update pre-commit configuration to reflect changes in mypy settings.
This commit is contained in:
Adil Zouitine
2025-10-01 13:19:51 +02:00
committed by GitHub
parent 50977a2c28
commit 5dfdec9288
2 changed files with 30 additions and 18 deletions

View File

@@ -90,7 +90,8 @@ repos:
# rev: v1.16.0
# hooks:
# - id: mypy
# args: [--python-version=3.10]
# args: [--config-file=pyproject.toml]
# exclude: ^(examples|benchmarks|tests)/
##### Docstring Checks #####
# - repo: https://github.com/akaihola/darglint2