mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
dev: Add mypy type checker
This commit is contained in:
1 parent
b752b835b6
commit
8cf1486b17
3 files changed
+5
-1
No files matched your search
Vendored
+2
-1
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -83,6 +83,7 @@
|
||||
(python3.withPackages (ps: [
|
||||
ps.black # Code formatter
|
||||
ps.isort # Import sorter
|
||||
ps.mypy # Static type checker
|
||||
]))
|
||||
];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
Reference in new issue
Block a user