Skip to content

Commit

Permalink
ran fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
abjjabjj committed Dec 4, 2024
1 parent 877f293 commit d6bc0c0
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 14 deletions.
3 changes: 1 addition & 2 deletions migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

import dotenv
from alembic import context
from concrete.clients import CLIClient
from sqlalchemy import URL, engine_from_config, pool
from sqlmodel import SQLModel

from concrete.clients import CLIClient

dotenv.load_dotenv(override=True)


Expand Down
3 changes: 2 additions & 1 deletion src/concrete-core/concrete/__main__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import argparse
import asyncio

from concrete import orchestrators
from concrete.clients import CLIClient
from concrete.tools.aws import AwsTool, Container

from concrete import orchestrators

try:
import concrete_async # noqa

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
from typing import cast
from uuid import UUID, uuid1, uuid4

from concrete import prompts
from concrete.clients.openai import OpenAIClient
from concrete.operators import Developer, Executive, Operator
from concrete.projects import SoftwareProject
from concrete.state import ProjectStatus, State, StatefulMixin

from concrete import prompts

from . import Orchestrator


Expand Down
3 changes: 1 addition & 2 deletions src/concrete-core/concrete/tools/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
from datetime import datetime, timezone
from typing import Optional

from dotenv import dotenv_values

from concrete.clients import CLIClient
from concrete.models.base import ConcreteModel
from concrete.tools import MetaTool
from dotenv import dotenv_values


class Container(ConcreteModel):
Expand Down
1 change: 0 additions & 1 deletion src/concrete-core/concrete/tools/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import zipfile

import requests

from concrete.clients import CLIClient
from concrete.tools import MetaTool
from concrete.tools.http import HTTPTool, RestApiTool
Expand Down
3 changes: 1 addition & 2 deletions src/concrete-core/concrete/webutils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from typing import cast

from concrete.utils import verify_jwt
from fastapi import Request, status
from fastapi.responses import JSONResponse
from starlette.middleware.base import BaseHTTPMiddleware

from concrete.utils import verify_jwt


class AuthMiddleware(BaseHTTPMiddleware):
def __init__(self, app, exclude_paths: set[str] | None = None):
Expand Down
1 change: 0 additions & 1 deletion tests/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys

import pytest

from concrete.orchestrators import SoftwareOrchestrator


Expand Down
5 changes: 2 additions & 3 deletions tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import unittest
from uuid import uuid4

from concrete.models.messages import TextMessage
from concrete.operators import Developer, Executive
from concrete_db.orm.models import Message as SQLModelMessage
from concrete_db.orm.models import Operator as SQLModelOperator
from concrete_db.orm.models import Project

from concrete.models.messages import TextMessage
from concrete.operators import Developer, Executive


class TestSQLModels(unittest.TestCase):
"""
Expand Down
1 change: 0 additions & 1 deletion tests/test_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from typing import List, Tuple

import pytest

from concrete.orchestrators import Orchestrator

# TODO: decide where utils go
Expand Down

0 comments on commit d6bc0c0

Please sign in to comment.