diff --git a/requirements-dev.txt b/requirements-dev.txt index 3c48581..0e270fc 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ pytest==8.0.0 pytest-cov==4.1.0 coverage==7.4.1 -black==23.12.1 +black==24.1.1 requests==2.31.0 beautifulsoup4==4.12.3 tox==4.12.1 diff --git a/src/app/__init__.py b/src/app/__init__.py index 3343fc0..9f44074 100644 --- a/src/app/__init__.py +++ b/src/app/__init__.py @@ -1,4 +1,5 @@ """Init the applicaiton.""" + from flask import Flask, render_template, request from flask_limiter import Limiter from flask_limiter.util import get_remote_address diff --git a/src/app/config.py b/src/app/config.py index c64e6a5..65524da 100644 --- a/src/app/config.py +++ b/src/app/config.py @@ -1,4 +1,5 @@ """Export global config variables.""" + import sqlfluff SQLFLUFF_VERSION = sqlfluff.__version__ diff --git a/src/app/wsgi.py b/src/app/wsgi.py index 6ce40af..8fc86f9 100644 --- a/src/app/wsgi.py +++ b/src/app/wsgi.py @@ -1,4 +1,5 @@ """Run the wsgi server.""" + import argparse import os diff --git a/test/test_app.py b/test/test_app.py index 27e53c6..4001ec1 100644 --- a/test/test_app.py +++ b/test/test_app.py @@ -1,4 +1,5 @@ """Tests for the application.""" + import app import pytest from app.routes import sql_encode diff --git a/test/test_wsgi.py b/test/test_wsgi.py index 1f6f010..1a266d2 100644 --- a/test/test_wsgi.py +++ b/test/test_wsgi.py @@ -1,4 +1,5 @@ """Tests for the application.""" + import subprocess import time