diff --git a/src/ahriman/__init__.py b/src/ahriman/__init__.py index 1c75c71f..8fc622e9 100644 --- a/src/ahriman/__init__.py +++ b/src/ahriman/__init__.py @@ -17,12 +17,3 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -# workaround for python3.10 while it wasn't yet released in arch -# also remove mypy --python-version flag later -import typing -import typing_extensions - - -for extension in dir(typing_extensions): - if extension not in dir(typing): - setattr(typing, extension, getattr(typing_extensions, extension)) diff --git a/tox.ini b/tox.ini index d19b3ad3..ff76590f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ dependencies = -e .[pacman,s3,web] project_name = ahriman [mypy] -flags = --implicit-reexport --strict --allow-untyped-decorators --allow-subclassing-any --python-version 3.11 +flags = --implicit-reexport --strict --allow-untyped-decorators --allow-subclassing-any [pytest] addopts = --cov=ahriman --cov-report=term-missing:skip-covered --no-cov-on-fail --cov-fail-under=100 --spec @@ -57,6 +57,5 @@ commands = deps = {[tox]dependencies} -e .[tests] - typing_extensions commands = pytest {posargs}