Skip to content

Commit

Permalink
black formating.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey committed May 22, 2023
1 parent c65f422 commit beb07c9
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion spire/broodusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import uuid

from bugout.app import Bugout # type: ignore
import requests # type: ignore
import requests # type: ignore
from sqlalchemy.orm import Session

from .utils.settings import auth_url_from_env, SPIRE_API_URL, BUGOUT_CLIENT_ID_HEADER
Expand Down
2 changes: 1 addition & 1 deletion spire/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from contextlib import contextmanager
from typing import Optional

import redis # type: ignore
import redis # type: ignore
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, Session

Expand Down
4 changes: 2 additions & 2 deletions spire/github/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
import time
import logging
import dateutil.parser # type: ignore
import dateutil.parser # type: ignore
from typing import Any, Dict, List, Optional
import uuid

Expand All @@ -19,7 +19,7 @@
)

import jwt # type: ignore
import requests # type: ignore
import requests # type: ignore
from starlette.responses import RedirectResponse
from sqlalchemy.orm import Session

Expand Down
2 changes: 1 addition & 1 deletion spire/github/calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import logging
from typing import Any, cast, Dict, List, Optional

import requests # type: ignore
import requests # type: ignore

logger = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions spire/indices.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
from typing import Any, Callable, cast, Dict, List, Union

import requests # type: ignore
from requests.api import head # type: ignore
import requests # type: ignore
from requests.api import head # type: ignore
from sqlalchemy.orm import Session

from .slack.data import Index
Expand Down
2 changes: 1 addition & 1 deletion spire/journal/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class JournalEntryResponse(BaseModel):
content: Optional[str] = None
tags: List[str] = Field(default_factory=list)
created_at: Optional[datetime] = None
updated_at: Optional[datetime] = None
updated_at: Optional[datetime] = None
context_url: Optional[str] = None
context_type: Optional[str] = None
context_id: Optional[str] = None
Expand Down
2 changes: 1 addition & 1 deletion spire/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from tokenize import group
from typing import Callable, Awaitable, List, Optional

import requests # type: ignore
import requests # type: ignore

from starlette.middleware.base import BaseHTTPMiddleware
from fastapi import Request, Response
Expand Down
2 changes: 1 addition & 1 deletion spire/slack/reactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import logging
from typing import Any, cast, Dict, List, Union

import requests # type: ignore
import requests # type: ignore
from concurrent.futures import ThreadPoolExecutor


Expand Down
2 changes: 1 addition & 1 deletion spire/utils/confparse.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path
import toml # type: ignore
import toml # type: ignore


MODULE_PATH = Path(__file__).parent.parent.parent.resolve()
Expand Down

0 comments on commit beb07c9

Please sign in to comment.