diff --git a/Makefile b/Makefile index b537b9be..b01e14cb 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ eval: poetry run gptme-eval typecheck: - poetry run mypy --ignore-missing-imports --check-untyped-defs ${SRCDIRS} $(if $(EXCLUDES),$(foreach EXCLUDE,$(EXCLUDES),--exclude $(EXCLUDE))) + poetry run mypy ${SRCDIRS} $(if $(EXCLUDES),$(foreach EXCLUDE,$(EXCLUDES),--exclude $(EXCLUDE))) RUFF_ARGS=${SRCDIRS} $(foreach EXCLUDE,$(EXCLUDES),--exclude $(EXCLUDE)) diff --git a/pyproject.toml b/pyproject.toml index 96c42090..72e22084 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,6 +111,10 @@ ignore = ["E402", "E501", "B905"] #fixable = ["ALL"] #unfixable = ["B"] +[tool.mypy] +ignore_missing_imports = true +check_untyped_defs = true + [tool.pytest.ini_options] markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')",