diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 16e6537..e36dd5d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,6 +5,7 @@ "ms-python.python", "ms-python.debugpy", "ms-python.black-formatter", - "ms-python.isort" + "ms-python.isort", + "ms-python.mypy-type-checker" ] } \ No newline at end of file diff --git a/flake.nix b/flake.nix index d1b984e..d77c872 100644 --- a/flake.nix +++ b/flake.nix @@ -83,6 +83,7 @@ (python3.withPackages (ps: [ ps.black # Code formatter ps.isort # Import sorter + ps.mypy # Static type checker ])) ]; }; diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f8ab000 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[tool.mypy] +strict = true \ No newline at end of file