diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f8d15ff6..dfcfe0f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,6 +40,7 @@ repos: - id: mypy name: "mypy" files: "syntheseus/" + args: ["--install-types", "--non-interactive"] # Latest ruff (does linting + more) - repo: https://github.com/charliermarsh/ruff-pre-commit diff --git a/pyproject.toml b/pyproject.toml index 59ee3623..234e50a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,8 +52,9 @@ namespaces = false line-length = 100 include = '\.pyi?$' -[tool.mypy.overrides] +[tool.mypy] python_version = 3.9 # pin modern python version +ignore_missing_imports = true [tool.ruff] line-length = 100