Skip to content

Commit cc038b2

Browse files
marc-hbpdgendt
authored andcommitted
pyproject.toml: add new poe target "types-extra"
As kindly suggested by the existing "types" target: $ uv run poe types Poe => mypy --package west src/west/app/project.py:1364: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] Do not include in the "all" group because it's not passing. Signed-off-by: Marc Herbert <[email protected]>
1 parent 827f5ac commit cc038b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ env = {PYTHONIOENCODING = "utf-8"}
118118
lint = "ruff check ."
119119
format = "ruff format"
120120
types = "mypy --package west"
121+
# work in progress
122+
types-extra = "mypy --package west --check-untyped-defs"
123+
121124
all = ["test", "lint", "format", "types"]
122125

123126
# Github specific tasks

0 commit comments

Comments
 (0)