diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f09017991..349f09698 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -86,11 +86,11 @@ repos: # TODO(Steven): Uncomment when ready to use ##### Static Analysis & Typing ##### - # - repo: https://github.com/pre-commit/mirrors-mypy - # rev: v1.16.0 - # hooks: - # - id: mypy - # args: [--python-version=3.10] + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.16.0 + hooks: + - id: mypy + args: [--python-version=3.10] ##### Docstring Checks ##### # - repo: https://github.com/akaihola/darglint2 diff --git a/pyproject.toml b/pyproject.toml index 2bc57c076..b0b742017 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -257,8 +257,8 @@ default.extend-ignore-identifiers-re = [ # color = true # paths = ["src/lerobot"] -# [tool.mypy] -# python_version = "3.10" -# warn_return_any = true -# warn_unused_configs = true -# ignore_missing_imports = false +[tool.mypy] +python_version = "3.10" +warn_return_any = true +warn_unused_configs = true +ignore_missing_imports = false