diff --git a/swh/__init__.py b/swh/__init__.py index 8d9f151..b36383a 100644 --- a/swh/__init__.py +++ b/swh/__init__.py @@ -1,4 +1,3 @@ from pkgutil import extend_path -from typing import List -__path__: List[str] = extend_path(__path__, __name__) +__path__ = extend_path(__path__, __name__) diff --git a/tox.ini b/tox.ini index 7c99df6..0196f7f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,32 +1,32 @@ [tox] envlist=flake8,mypy,py3 [testenv:py3] deps = pytest-cov commands = pytest --cov=swh --cov-branch {posargs} [testenv:flake8] skip_install = true deps = flake8 commands = {envpython} -m flake8 [testenv:flake8-phab] skip_install = true deps = flake8 git+https://framagit.org/douardda/flake8-phabricator-formatter.git commands = {envpython} -m flake8 --format=phabricator --output-file=.phabricator-lint [testenv:mypy] extras = testing deps = - mypy + mypy==0.920 commands = mypy swh