Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2024
1 parent ff484bb commit 087ac64
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/auth_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Authentical objects """

import os

import structlog
Expand Down
1 change: 1 addition & 0 deletions src/cache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Caching utils for api"""

import json
import os
import time
Expand Down
1 change: 1 addition & 0 deletions src/database.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Functions to read from the database and format """

import os
from datetime import datetime, timedelta, timezone
from typing import List, Optional, Union
Expand Down
1 change: 1 addition & 0 deletions src/gsp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get GSP boundary data from eso """

import os
from typing import List, Optional, Union

Expand Down
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Main FastAPI app """

import os
import time
from datetime import timedelta
Expand Down
1 change: 1 addition & 0 deletions src/national.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""National API routes"""

import os
from typing import List, Optional, Union

Expand Down
1 change: 1 addition & 0 deletions src/pydantic_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" pydantic models for API"""

import logging
import os
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions src/redoc_theme.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Redoc theme functions """

from starlette.responses import HTMLResponse


Expand Down
1 change: 1 addition & 0 deletions src/status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get Status from database """

import os
from datetime import datetime, timedelta, timezone

Expand Down
1 change: 1 addition & 0 deletions src/system.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get GSP boundary data from eso """

import json
from typing import List, Optional

Expand Down
1 change: 1 addition & 0 deletions src/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Pytest fixitures for tests """

import os

import pytest
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_gsp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Test for main app """

from datetime import datetime, timezone

from freezegun import freeze_time
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Test for main app """

from main import version


Expand Down
1 change: 1 addition & 0 deletions src/tests/test_merged_routes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Test for main app """

from datetime import datetime

from freezegun import freeze_time
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_national.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Test for main app """

from datetime import datetime, timezone

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Test for main app """

from datetime import datetime, timedelta, timezone

from fastapi.testclient import TestClient
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Utils functions for test """

import os
from datetime import datetime, timezone

Expand Down
1 change: 1 addition & 0 deletions src/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Utils functions for main.py """

import os
from datetime import datetime, timedelta
from typing import List, Optional, Union
Expand Down

0 comments on commit 087ac64

Please sign in to comment.