root: format pyproject

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-21 13:32:28 +02:00
parent da7635ae5c
commit 5182a6741e
1 changed files with 27 additions and 32 deletions

View File

@ -15,13 +15,7 @@ force_to_top = "*"
[tool.coverage.run]
source = ["authentik"]
relative_files = true
omit = [
"*/asgi.py",
"manage.py",
"*/migrations/*",
"*/apps.py",
"website/",
]
omit = ["*/asgi.py", "manage.py", "*/migrations/*", "*/apps.py", "website/"]
[tool.coverage.report]
sort = "Cover"
@ -60,7 +54,8 @@ disable =[
"protected-access",
"raise-missing-from",
# To preverse django's translation function we need to use %-formatting
"consider-using-f-string",]
"consider-using-f-string",
]
load-plugins = ["pylint_django", "pylint.extensions.bad_builtin"]
django-settings-module = "authentik.root.settings"