test: drop testing with Python 2

This commit is contained in:
Jochen Sprickerhof 2021-11-16 10:17:49 +01:00
parent 4848ab348f
commit 1b305fa3f0

View file

@ -2,7 +2,6 @@
WEECHAT_HOME ?= $(HOME)/.weechat WEECHAT_HOME ?= $(HOME)/.weechat
PREFIX ?= $(WEECHAT_HOME) PREFIX ?= $(WEECHAT_HOME)
PYTHON ?= python
INSTALLDIR := $(DESTDIR)$(PREFIX)/python/matrix INSTALLDIR := $(DESTDIR)$(PREFIX)/python/matrix
@ -31,7 +30,6 @@ $(INSTALLDIR)/%.py: matrix/%.py phony | $(INSTALLDIR)
test: ## Run automated tests test: ## Run automated tests
python3 -m pytest python3 -m pytest
python2 -m pytest
typecheck: ## Run type check typecheck: ## Run type check
mypy -p matrix --ignore-missing-imports --warn-redundant-casts mypy -p matrix --ignore-missing-imports --warn-redundant-casts