Skip to content
Snippets Groups Projects
Commit 75601b58 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Add mypy to Makefile and tox.ini

parent 541ff0ee
No related branches found
No related tags found
2 merge requests!143Release 0.15.0,!66F mypy
......@@ -32,7 +32,7 @@ doc:
install:
@echo "Not implemented yet, use pip for installation."
check: style lint
check: style lint mypy
.PHONY: check
style:
......@@ -43,6 +43,10 @@ lint:
pylint --unsafe-load-any-extension=y -d all -e E,F src/linkahead/common
.PHONY: lint
mypy:
mypy src/linkahead
.PHONY: mypy
unittest:
tox -r
.PHONY: unittest
[tox]
envlist=py37, py38, py39, py310, py311
envlist=py37, py38, py39, py310, py311, py312
skip_missing_interpreters = true
[testenv]
deps = .
nose
pynose
pytest
pytest-cov
mypy
jsonschema>=4.4.0
setuptools
commands=py.test --cov=caosdb -vv {posargs}
[flake8]
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment