diff --git a/Makefile b/Makefile index 382acbd..2861ada 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL=/bin/bash lint: ruff $$(dirname */__init__.py) - mypy --install-types --non-interactive --check-untyped-defs $$(dirname */__init__.py) + mypy --install-types --non-interactive $$(dirname */__init__.py) test: python ./test/test.py -v diff --git a/pyproject.toml b/pyproject.toml index f76dfb4..a59e386 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,13 @@ skip_gitignore = true line-length = 120 per-file-ignores = {"yq/__init__.py" = ["F401"]} +[tool.mypy] +files = [ + "yq" +] +check_untyped_defs = true +disallow_incomplete_defs = true + [[tool.mypy.overrides]] module = "argcomplete.*" ignore_missing_imports = true