From dea176b5660bba7bf13940f3c02f84aa5ea0da16 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 22 Mar 2024 13:26:54 +0100 Subject: Makefile: Split ruff into wrappers/python dir --- wrappers/python/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'wrappers/python') 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 -- cgit v1.2.3