clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
This commit is contained in:
parent
167f7f4eb3
commit
129a1516f6
|
@ -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 = {
|
||||
|
|
|
@ -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]]
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user