From 19a420d421209b02c09cd1d2b97d4ecc69363af3 Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Tue, 11 Jul 2023 12:40:44 +0200 Subject: [PATCH] add click type stubs and exclude tox directory with mypy --- requirements.txt | 1 + tox.ini | 3 +++ 2 files changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index fe4111a1..fa17bda5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,6 +24,7 @@ types-jsonschema~=4.17 types-Flask-Cors~=3.0 types-openpyxl~=3.1 types-setuptools~=67.6 +types-click~=7.1 sentry-sdk[flask]~=1.23 python-dotenv~=1.0 diff --git a/tox.ini b/tox.ini index 44d44d82..b6279adc 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,9 @@ envlist = py39,py311 exclude = venv,.tox,compendium-frontend,survey-frontend max-line-length = 120 +[mypy] +exclude = .tox + [testenv] deps = coverage -- GitLab