From d12e232a6f011f3355b3d9278dd78e175ffd085a Mon Sep 17 00:00:00 2001
From: jo <ljonas@riseup.net>
Date: Mon, 13 Sep 2021 14:43:18 +0200
Subject: [PATCH] Add format target in makefiles

---
 api/Makefile                          | 1 +
 python_apps/airtime-celery/Makefile   | 1 +
 python_apps/airtime_analyzer/Makefile | 1 +
 python_apps/api_clients/Makefile      | 1 +
 python_apps/pypo/Makefile             | 1 +
 5 files changed, 5 insertions(+)

diff --git a/api/Makefile b/api/Makefile
index 60e3bf54a..bedb6b4fc 100644
--- a/api/Makefile
+++ b/api/Makefile
@@ -6,5 +6,6 @@ PIP_INSTALL := --editable .[dev]
 PYLINT_ARG := libretimeapi
 MYPY_ARG := libretimeapi
 
+format: .format
 lint: .pylint .mypy
 clean: .clean
diff --git a/python_apps/airtime-celery/Makefile b/python_apps/airtime-celery/Makefile
index b74c3b0e1..6b14cf03e 100644
--- a/python_apps/airtime-celery/Makefile
+++ b/python_apps/airtime-celery/Makefile
@@ -6,5 +6,6 @@ PIP_INSTALL := --editable .[dev]
 PYLINT_ARG := airtime-celery
 MYPY_ARG := airtime-celery
 
+format: .format
 lint: .pylint .mypy
 clean: .clean
diff --git a/python_apps/airtime_analyzer/Makefile b/python_apps/airtime_analyzer/Makefile
index d0c69d657..07c620816 100644
--- a/python_apps/airtime_analyzer/Makefile
+++ b/python_apps/airtime_analyzer/Makefile
@@ -7,6 +7,7 @@ PYLINT_ARG := airtime_analyzer tests
 MYPY_ARG := airtime_analyzer tests
 PYTEST_ARG := --cov=airtime_analyzer tests
 
+format: .format
 lint: .pylint .mypy
 
 fixtures:
diff --git a/python_apps/api_clients/Makefile b/python_apps/api_clients/Makefile
index 28d7d7224..573454ef2 100644
--- a/python_apps/api_clients/Makefile
+++ b/python_apps/api_clients/Makefile
@@ -7,6 +7,7 @@ PYLINT_ARG := api_clients tests
 MYPY_ARG := api_clients tests
 PYTEST_ARG := --cov=api_clients tests
 
+format: .format
 lint: .pylint .mypy
 test: .pytest
 clean: .clean
diff --git a/python_apps/pypo/Makefile b/python_apps/pypo/Makefile
index 8f4eefc4c..2653130b2 100644
--- a/python_apps/pypo/Makefile
+++ b/python_apps/pypo/Makefile
@@ -6,5 +6,6 @@ PIP_INSTALL := --editable .[dev]
 PYLINT_ARG := liquidsoap pypo
 MYPY_ARG := liquidsoap pypo
 
+format: .format
 lint: .pylint .mypy
 clean: .clean