From f1aa873768949c18211a6bcf86626b593a521de1 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 23 Apr 2023 22:11:23 -0600 Subject: [PATCH] refactor: revert typing env move for now Signed-off-by: Henry Schreiner --- pyproject.toml | 6 ++++++ tox.ini | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fca988e6..a77e99f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,12 @@ test = [ 'setuptools >= 42.0.0; python_version < "3.10"', 'setuptools >= 56.0.0; python_version >= "3.10"', ] +typing = [ + "importlib-metadata >= 5.1", + "mypy == 1.2.0", + "tomli", + "typing-extensions >= 3.7.4.3", +] virtualenv = [ "virtualenv >= 20.0.35", ] diff --git a/tox.ini b/tox.ini index ac614fe2..159d8b45 100644 --- a/tox.ini +++ b/tox.ini @@ -54,15 +54,9 @@ commands_pre = [testenv:type] description = run type check on code base -skip_install = true +extras = typing setenv = PYTHONWARNDEFAULTENCODING = -deps = - importlib-metadata>=5.1 - mypy==1.2.0 - tomli - typing-extensions>=3.7.4.3 - packaging commands = mypy