Compare commits

..

2 Commits

Author SHA1 Message Date
Ferdinand Thiessen 27a086a5c0 feat(plugins): Load metadata from entry points / distribution
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/test Pipeline was successful Details
2022-02-22 11:07:32 +01:00
Ferdinand Thiessen bc2fb820f0 chore(clean): Fix codestyle of config.py
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/test Pipeline was successful Details
2022-02-22 11:07:15 +01:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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"))