From 6bd72f73b761264032907530a9ab1d4c4fa0e97f Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 3 Sep 2021 22:40:38 +0100 Subject: Ignore gunicorn configuration from flake8 --- gunicorn.conf.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gunicorn.conf.py') diff --git a/gunicorn.conf.py b/gunicorn.conf.py index c60b64eb..4930ae5b 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -1,5 +1,10 @@ -# Code taken from https://github.com/prometheus/client_python#multiprocess-mode-eg-gunicorn +""" +Configuration file for gunicorn. + +Code taken from https://github.com/prometheus/client_python#multiprocess-mode-eg-gunicorn +""" from prometheus_client import multiprocess -def child_exit(server, worker): + +def child_exit(server, worker) -> None: multiprocess.mark_process_dead(worker.pid) -- cgit v1.2.3