clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 3m48s

This commit is contained in:
Luis Hebendanz 2024-03-10 16:06:03 +07:00
parent 167f7f4eb3
commit 129a1516f6
3 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,7 @@
treefmt.programs.mypy.directories = {
"pkgs/clan-cli".extraPythonPackages = self'.packages.clan-cli.pytestDependencies;
"pkgs/clan-vm-manager".extraPythonPackages = self'.packages.clan-vm-manager.propagatedBuildInputs;
# "pkgs/clan-vm-manager".options = ["--verbose"];
};
treefmt.settings.formatter.nix = {

View File

@ -29,7 +29,6 @@ warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
disable_error_code = ["has-type"]
exclude = "clan_cli.nixpkgs"
[[tool.mypy.overrides]]

View File

@ -22,6 +22,9 @@ disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = "clan_cli.*"
ignore_missing_imports = true
[tool.ruff]
target-version = "py311"