summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/python/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/wrappers/python/Makefile b/wrappers/python/Makefile
index 9d51c15..c55faf8 100644
--- a/wrappers/python/Makefile
+++ b/wrappers/python/Makefile
@@ -1,5 +1,5 @@
.DEFAULT_GOAL := pack
-.PHONY: install-lib pack test clean
+.PHONY: install-lib pack test clean lint fmt
VERSION := $(shell grep -o 'const Version = "[^"]*' ../../internal/version/version.go | cut -d '"' -f 2)
@@ -16,3 +16,10 @@ test: install-lib
clean:
rm -rf build/ dist/ *.egg-info/ eduvpn_common/lib/* venv
+
+lint:
+ ruff check eduvpn_common
+ ruff format --check eduvpn_common
+
+fmt:
+ ruff format eduvpn_common