remove python3.10 compat

This commit is contained in:
Evgenii Alekseev 2023-05-04 01:02:28 +03:00
parent 6a1657722b
commit c92960f831
2 changed files with 1 additions and 11 deletions

View File

@ -17,12 +17,3 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# 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))

View File

@ -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}