Merge pull request #1342 from jooola/feat/ci_start_linting_again

Follow up #1339
This commit is contained in:
Kyle Robbertze 2021-09-14 12:12:17 +00:00 committed by GitHub
commit b9bfa618a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 41 additions and 56 deletions

View file

@ -2,9 +2,10 @@ all: lint
include ../../tools/python.mk
PIP_INSTALL := --editable .[dev]
PIP_INSTALL := --editable .
PYLINT_ARG := airtime-celery
MYPY_ARG := airtime-celery
format: .format
lint: .pylint .mypy
clean: .clean

View file

@ -24,12 +24,5 @@ setup(
"kombu==4.6.10",
"configobj",
],
extras_require={
"prod": [],
"dev": [
"mypy",
"pylint",
],
},
zip_safe=False,
)

View file

@ -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:

View file

@ -35,14 +35,8 @@ setup(
"pycairo==1.19.1",
],
extras_require={
"prod": [],
"dev": [
"distro",
"mypy",
"pylint",
"pytest",
"pytest-cov",
"pytest-xdist",
],
},
zip_safe=False,

View file

@ -2,11 +2,12 @@ all: lint test
include ../../tools/python.mk
PIP_INSTALL := --editable .[dev]
PIP_INSTALL := --editable .
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

View file

@ -24,15 +24,5 @@ setup(
"python-dateutil>=2.7.0",
"requests",
],
extras_require={
"prod": [],
"dev": [
"mypy",
"pylint",
"pytest",
"pytest-cov",
"pytest-xdist",
],
},
zip_safe=False,
)

View file

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

View file

@ -38,12 +38,5 @@ setup(
"pytz",
"requests",
],
extras_require={
"prod": [],
"dev": [
"mypy",
"pylint",
],
},
zip_safe=False,
)