Skip to content

Commit b999f86

Browse files
author
Kevin Vu te Laar
committed
fix(ci): prevent mypy package root ambiguity
Mypy was detecting the same files under multiple module names due to ambiguous package roots. Explicit package bases prevent ambiguity. Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
1 parent 00b6528 commit b999f86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ test:python:
164164
- pytest --verbose .
165165
- black --line-length=90 --extend-exclude=".*(\\.pyi|_pb2.py)$" --check .
166166
- flake8 --max-line-length=90 --extend-exclude="*.pyi,*_pb2.py" .
167-
- mypy .
167+
- mypy --explicit-package-bases .
168168
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG}
169169
needs:
170170
- job: "build:source: [fedora]"

0 commit comments

Comments
 (0)