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 Feb 3, 2025
1 parent 4f45bb1 commit daa2f3f
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/auth_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Authentical objects """
"""Authentical objects"""

import os

Expand Down
2 changes: 1 addition & 1 deletion src/cache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Caching utils for api"""
"""Caching utils for api"""

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

import abc
import os
Expand Down
2 changes: 1 addition & 1 deletion src/gsp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Get GSP boundary data from eso """
"""Get GSP boundary data from eso"""

import os
from typing import List, Optional, Union
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Main FastAPI app """
"""Main FastAPI app"""

import logging
import os
Expand Down
2 changes: 1 addition & 1 deletion src/pydantic_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" pydantic models for API"""
"""pydantic models for API"""

import logging
import os
Expand Down
2 changes: 1 addition & 1 deletion src/redoc_theme.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Redoc theme functions """
"""Redoc theme functions"""

from starlette.responses import HTMLResponse

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

import os
from datetime import datetime, timedelta, timezone
Expand Down
2 changes: 1 addition & 1 deletion src/system.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Get GSP boundary data from eso """
"""Get GSP boundary data from eso"""

import json
from typing import List, Optional
Expand Down
2 changes: 1 addition & 1 deletion src/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Pytest fixitures for tests """
"""Pytest fixitures for tests"""

import os

Expand Down
2 changes: 1 addition & 1 deletion src/tests/fake/test_national_fake.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

from freezegun import freeze_time

Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_database.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

from freezegun import freeze_time
from nowcasting_datamodel.read.read import national_gb_label
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_gsp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

from datetime import datetime, timezone

Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

from main import version

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

from datetime import datetime

Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_national.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

from datetime import datetime, timezone

Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

import os
import tempfile
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_system.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Test for main app """
"""Test for main app"""

from nowcasting_datamodel.fake import make_fake_forecasts
from nowcasting_datamodel.models import Location
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Utils functions for test """
"""Utils functions for test"""

import os
from datetime import datetime, timezone
Expand Down
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Utils functions for main.py """
"""Utils functions for main.py"""

import os
from datetime import datetime, timedelta
Expand Down

0 comments on commit daa2f3f

Please sign in to comment.