diff --git a/utils/indigo-service/backend/service/elastic/service/pyproject.toml b/utils/indigo-service/backend/service/elastic/service/pyproject.toml new file mode 100644 index 0000000000..c0c0d0947f --- /dev/null +++ b/utils/indigo-service/backend/service/elastic/service/pyproject.toml @@ -0,0 +1,10 @@ +[tool.black] +line-length = 79 + +[tool.isort] +profile = "black" +line_length = 79 + +[tool.flake8] +max-line-length = 79 +extend-ignore = "E203, E501" diff --git a/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py b/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py index 1e18f7f886..2510ce0a8e 100644 --- a/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py +++ b/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py @@ -11,13 +11,9 @@ from bingo_elastic.elastic import ElasticRepository, IndexName from bingo_elastic.model import helpers from bingo_elastic.model.record import IndigoRecord -from bingo_elastic.queries import ( - BaseMatch, - EuclidSimilarityMatch, - TanimotoSimilarityMatch, - TverskySimilarityMatch, - query_factory, -) +from bingo_elastic.queries import (BaseMatch, EuclidSimilarityMatch, + TanimotoSimilarityMatch, + TverskySimilarityMatch, query_factory) from dotenv import load_dotenv from elasticsearch import Elasticsearch as NativeElastic from flask import Blueprint, request diff --git a/utils/indigo-service/backend/service/postgres/service/v2/indigo_api.py b/utils/indigo-service/backend/service/postgres/service/v2/indigo_api.py index 9ee11071f1..c24e74e8d6 100644 --- a/utils/indigo-service/backend/service/postgres/service/v2/indigo_api.py +++ b/utils/indigo-service/backend/service/postgres/service/v2/indigo_api.py @@ -17,13 +17,9 @@ from .common import config from .common.util import highlight -from .validation import ( - IndigoAutomapSchema, - IndigoCalculateSchema, - IndigoCheckSchema, - IndigoRendererSchema, - IndigoRequestSchema, -) +from .validation import (IndigoAutomapSchema, IndigoCalculateSchema, + IndigoCheckSchema, IndigoRendererSchema, + IndigoRequestSchema) tls = local()