From bc2fb820f04dc44333f5a76a9fd8fce563f78a8e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 22 Feb 2022 11:07:15 +0100 Subject: [PATCH] chore(clean): Fix codestyle of config.py --- .woodpecker/lint.yml | 2 +- flaschengeist/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 3116a12..7cfd62b 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -3,4 +3,4 @@ pipeline: image: python:slim commands: - pip install black - - black --check --line-length 120 --target-version=py37 . + - black --check --line-length 120 --target-version=py39 . diff --git a/flaschengeist/config.py b/flaschengeist/config.py index 49a9a2f..3adae22 100644 --- a/flaschengeist/config.py +++ b/flaschengeist/config.py @@ -56,7 +56,7 @@ def configure_logger(): logger_config["handlers"]["wsgi"]["level"] = level # Read default config - logger_config = toml.load(Path(__file__).parent /"logging.toml") + logger_config = toml.load(Path(__file__).parent / "logging.toml") if "LOGGING" in config: # Override with user config update_dict(logger_config, config.get("LOGGING"))