diff --git a/setup.cfg b/setup.cfg index 1f8e7d4..5bf019b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,7 @@ package_dir = =clog zip_safe = no -[options.extra_require] +[options.extras_require] testing = pytest>=7.0 pytest-cov>=3.0 diff --git a/setup.py b/setup.py index f3dc35d..4463731 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import os import sys +from typing import Dict from setuptools import setup CURRENT_PYVERSION = sys.version_info[:2] @@ -28,7 +29,7 @@ official Python website to the minimum required version. sys.exit(1) -info = {} +info: Dict[str, str] = {} here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, "clog", "__version__.py"), "r", encoding="utf-8") as f: exec(f.read(), info) diff --git a/tox.ini b/tox.ini index 53dbef4..68f9bd6 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,6 @@ isolated_build = true [testenv] setenv = PYTHONPATH = {toxinidir} -#deps = -# -r{toxinidir}/requirements-dev.txt -#commands = +deps = + -r{toxinidir}/requirements-dev.txt +commands =