fix black linting

This commit is contained in:
Simon 2024-01-27 10:26:23 +07:00
parent 0d863ef557
commit 0ff27ebfb9
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
5 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include, path

View File

@ -1,4 +1,5 @@
"""custom models"""
from django.contrib.auth.models import (
AbstractBaseUser,
BaseUserManager,

View File

@ -3,6 +3,7 @@ functionality:
- wrapper around requests to call elastic search
- reusable search_after to extract total index
"""
# pylint: disable=missing-timeout
import json

View File

@ -6,7 +6,6 @@ Functionality:
- calculate pagination values
"""
from api.src.search_processor import SearchProcess
from home.src.es.connect import ElasticWrap

View File

@ -3,6 +3,7 @@ Functionality:
- all views for home app
- holds base classes to inherit from
"""
import enum
import urllib.parse
from time import sleep