mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
root: add mypy (#16904)
* add mypy Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix some stuff Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix more stuff Signed-off-by: Jens Langhammer <jens@goauthentik.io> * actually do overrides on a per-module basis Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix small stuff Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add pydantic plugin Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Generate config for development"""
|
||||
|
||||
from typing import Any
|
||||
|
||||
from yaml import safe_dump
|
||||
|
||||
from authentik.lib.generators import generate_id
|
||||
|
||||
|
||||
def generate_local_config():
|
||||
def generate_local_config() -> dict[str, Any]:
|
||||
"""Generate a local development configuration"""
|
||||
# TODO: This should be generated and validated against a schema, such as Pydantic.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user