chore(api): add pylint-django plugin

This commit is contained in:
jo 2022-02-23 10:23:37 +01:00 committed by Kyle Robbertze
parent fce988aef1
commit bf8db3e6f0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
[tool.pylint.master]
load-plugins = "pylint_django"
django-settings-module = "libretime_api.settings.testing"
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [

View File

@ -43,6 +43,7 @@ setup(
"dev": [
"model_bakery",
"psycopg2-binary",
"pylint-django",
f"libretime-shared @ file://localhost/{here.parent / 'shared'}#egg=libretime_shared",
],
},