Skip to content

Commit

Permalink
python bindings: add lint target to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
  • Loading branch information
cyphar committed Oct 8, 2024
1 parent a4cdb57 commit 18b37b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/bindings/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ dist: $(SRC_FILES) pyproject.toml
clean:
rm -rf dist/ pathrs.*-info/ pathrs/__pycache__/ pathrs/_libpathrs_cffi.*

.PHONY: lint
lint:
black --check .
mypy .

.PHONY: install
install: dist
$(PIP) install dist/pathrs*.whl

0 comments on commit 18b37b0

Please sign in to comment.