From dc0dbb0f09116c5d6e533b3d0731a15aa91bd23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 7 Aug 2023 16:57:28 +0200 Subject: [PATCH] Makefile: Add a lint target The new target just runs all the linters in parallel. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 134cb220..02c2404c 100644 --- a/Makefile +++ b/Makefile @@ -248,6 +248,16 @@ test-all: --rootdir=$(SRCDIR) \ -v +# +# Linting the code +# +# Just run `make lint` and see if our linters like your code. +# + +.PHONY: lint +lint: + tox run-parallel -e ruff,pylint,autopep8,isort,mypy + # # Building packages #