diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e60b1f..5824825 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: hooks: - id: mypy types: [python] - args: [--install-types, --non-interactive, --strict] + args: [--ignore-missing-imports, --install-types, --non-interactive, --strict] exclude: "tests" - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/pyproject.toml b/pyproject.toml index 5b9ee32..40708b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,6 +80,8 @@ exclude = ''' [tool.mypy] files = ["codicefiscale"] ignore_missing_imports = true +install_types = true +non_interactive = true strict = true [tool.ruff]