diff --git a/pyproject.toml b/pyproject.toml index b99d9cf..24f0daa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,16 @@ packages = ["simple_backup"] [tool.setuptools.dynamic] version = { attr = "simple_backup.__version__" } +[tool.mypy] +files = ["simple_backup", "tests"] +disallow_untyped_defs = true +warn_unused_ignores = true + +# No usable stubs (types-paramiko lags behind paramiko 5) +[[tool.mypy.overrides]] +module = ["paramiko", "systemd", "dbus"] +ignore_missing_imports = true + [tool.pytest.ini_options] testpaths = ["tests"] # Import the repo copy, not an installed one