diff --git a/.env b/.env index d8b52ba..0fe8e39 100644 --- a/.env +++ b/.env @@ -4,4 +4,4 @@ FLASK_DEBUG=1 FLASK_ENV=development GUNICORN_WORKERS=2 LOG_LEVEL=debug -SECRET_KEY='YourSecretKey' +SECRET_KEY='' diff --git a/autoapp.py b/autoapp.py index a447d1a..f037e12 100644 --- a/autoapp.py +++ b/autoapp.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- -"""Create an application instance.""" from flask import g from flask_login import current_user diff --git a/celery_worker.py b/celery_worker.py index 1cf002f..7517a66 100644 --- a/celery_worker.py +++ b/celery_worker.py @@ -3,7 +3,7 @@ from api.app import create_app from api.extensions import celery -# celery worker -A celery_worker.celery -l DEBUG -E -Q +# celery worker -A celery_worker.celery -l DEBUG -E -Q --concurrency=1 print(celery) app = create_app() diff --git a/setup.cfg b/setup.cfg index 8dbd742..02455c7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,7 @@ max-line-length = 120 exclude = migrations/* max-complexity = 10 + [isort] line_length = 88 multi_line_output = 3 diff --git a/tests/__init__.py b/tests/__init__.py index aeb77f4..40a96af 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,2 +1 @@ # -*- coding: utf-8 -*- -"""Tests for the app."""