Skip to content

Commit e1cd793

Browse files
committed
Update Makefile
1 parent 293c177 commit e1cd793

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,13 @@ dist: clean ## builds source and wheel package
8787

8888
install: clean ## install the package to the active Python's site-packages
8989
python setup.py install
90+
91+
pyright: ## type check with pyright
92+
pyright --pythonversion=3.7
93+
pyright --pythonversion=3.11
94+
95+
check: pyright lint ## check code quality with pyright, flake8, black and isort
96+
echo "Checking code with black."
97+
black --check .
98+
echo "Sorting imports with isort."
99+
isort --check-only --diff .

0 commit comments

Comments
 (0)