Skip to content

Commit 08d9c74

Browse files
committed
exclude build from MyPy, adapt ci
1 parent 1d52cee commit 08d9c74

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

server/app/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def json_list(cls, data: Union[str, bytes], expect_type: Type[T], stripped: bool
327327
model.Qualifier: decoder._construct_qualifier,
328328
}
329329

330-
constructor: Optional[Callable[..., T]] = mapping.get(expect_type) # type: ignore[assignment]
330+
constructor: Optional[Callable[..., T]] = mapping.get(expect_type) # type: ignore[assignment]
331331
args = []
332332
if expect_type is model.ModelReference:
333333
args.append(model.Submodel)

server/app/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ packages = { find = { exclude = ["test*"] } }
5858

5959
[tool.setuptools.package-data]
6060
app = ["py.typed"]
61+
62+
[tool.mypy]
63+
exclude = "build/"

0 commit comments

Comments
 (0)