Listen to pylint

This commit is contained in:
Joscha
2020-04-20 15:15:47 +00:00
parent 62ac569ec4
commit 154d6b29dd
4 changed files with 76 additions and 27 deletions

View File

@ -1,3 +1,8 @@
"""
This module exports only what you need for a basic configuration. If you want a
more complex configuration, you need to import the other submodules manually.
"""
import logging
STYLE = "{"
@ -12,6 +17,10 @@ FORMATTER = logging.Formatter(
def enable_logging(name: str = "PFERD", level: int = logging.INFO) -> None:
"""
Enable and configure logging via the logging module.
"""
handler = logging.StreamHandler()
handler.setFormatter(FORMATTER)