Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
jagraff committed Apr 25, 2024
1 parent de826c8 commit 8b4159e
Showing 1 changed file with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,25 @@
],
)

FLASK_LOGGING_CONFIG = dictConfig({
'version': 1,
'formatters': {
'default': {
'format': '[%(asctime)s] %(levelname)s in %(module)s: %(message)s',
FLASK_LOGGING_CONFIG = dictConfig(
{
"version": 1,
"formatters": {
"default": {
"format": "[%(asctime)s] %(levelname)s in %(module)s: %(message)s",
},
"json": {"()": "OpenMediaMatch.utils.formatters.CustomJsonFormatter"},
},
'json': {
"()": "OpenMediaMatch.utils.formatters.CustomJsonFormatter"
}
},
'handlers': {'wsgi': {
'class': 'logging.StreamHandler',
'stream': 'ext://flask.logging.wsgi_errors_stream',
'formatter': 'json'
}},
'root': {
'level': 'INFO',
'handlers': ['wsgi']
"handlers": {
"wsgi": {
"class": "logging.StreamHandler",
"stream": "ext://flask.logging.wsgi_errors_stream",
"formatter": "json",
}
},
"root": {"level": "INFO", "handlers": ["wsgi"]},
}
})
)

# Debugging stuff
# SQLALCHEMY_ENGINE_LOG_LEVEL = logging.INFO

0 comments on commit 8b4159e

Please sign in to comment.