diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-07-03 22:56:41 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-07-03 22:56:41 +0200 |
commit | 316fb878b90dc26d1900663dee625f4f057d5c1d (patch) | |
tree | e670c561e9c57c3dc2731a48ab71c8249f470fe5 | |
parent | Better title on module index. (diff) | |
download | muppet-strings-316fb878b90dc26d1900663dee625f4f057d5c1d.tar.gz muppet-strings-316fb878b90dc26d1900663dee625f4f057d5c1d.tar.xz |
Makefile: Also add pyright check.
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,5 @@ -.PHONY: all output check test sphinx-apidoc documentation +.PHONY: all output check test sphinx-apidoc documentation \ + check_style check_type check_pyright all: output @@ -18,7 +19,10 @@ check_style: check_type: mypy -p muppet -check: check_style check_type +check_pyright: + pyright $(shell find muppet -type f -name '*.py') + +check: check_style check_type check_pyright # TODO only require coverage if `python -m pytest -VV | grep pytest-cov` return true PYTEST_FLAGS = --cov=muppet --cov-branch --cov-report=html |