From beb200a0c472b7af479dbb817af9753dc9dc45bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Sun, 23 May 2021 13:46:26 +0200 Subject: [PATCH] Activate type check --- .github/workflows/main.yaml | 5 ++--- setup.cfg | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 49bcd0d..552b338 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -29,10 +29,9 @@ jobs: run: c2cciutils-checks - run: pipenv sync --system --dev - - run: python3 -m pip install --quiet --user -e . - - run: prospector . + - run: pipenv run prospector . - run: > - coverage run --source=deskew --module pytest --durations=0 --verbose --color=yes + pipenv run coverage run --source=deskew --module pytest --durations=0 --verbose --color=yes --profile --profile-svg --junitxml=results/test-reports/junit.xml tests && coverage report && coverage html --directory=results/coverage diff --git a/setup.cfg b/setup.cfg index 12f7883..10c29f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,6 +5,10 @@ ignore = E722 [mypy] python_version = 3.8 ignore_missing_imports = True +warn_redundant_casts = True +warn_unused_ignores = True +warn_return_any = True +strict = True [bdist_wheel] universal = 1