Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #321

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
- id: isort
args: [--check, --diff, --profile, black, --line-length, "100"]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.2.0
hooks:
- id: black
args: [--line-length, "100"]
Expand Down
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
from datetime import datetime
from typing import Dict, List, Optional
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
Loading