Merge pull request #1339 from jooola/feat/ci_start_linting

Start linting 🎉 !
This commit is contained in:
Kyle Robbertze 2021-09-13 12:01:31 +00:00 committed by GitHub
commit 56f5a84146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 209 additions and 75 deletions

10
python_apps/pypo/Makefile Normal file
View file

@ -0,0 +1,10 @@
all: lint
include ../../tools/python.mk
PIP_INSTALL := --editable .[dev]
PYLINT_ARG := liquidsoap pypo
MYPY_ARG := liquidsoap pypo
lint: .pylint .mypy
clean: .clean

View file

@ -27,6 +27,7 @@ setup(
"bin/airtime-liquidsoap",
"bin/pyponotify",
],
python_requires=">=3.6",
install_requires=[
"amqplib",
"configobj",
@ -37,5 +38,12 @@ setup(
"pytz",
"requests",
],
extras_require={
"prod": [],
"dev": [
"mypy",
"pylint",
],
},
zip_safe=False,
)