Merge pull request #1339 from jooola/feat/ci_start_linting
Start linting 🎉 !
This commit is contained in:
commit
56f5a84146
18 changed files with 209 additions and 75 deletions
10
python_apps/pypo/Makefile
Normal file
10
python_apps/pypo/Makefile
Normal 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
|
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue