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

refactor: remove rest of encoding headers #770

Merged
merged 2 commits into from
Oct 27, 2024
Merged
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 src/meteofrance_api/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Client for the Météo-France REST API."""

from typing import List
from typing import Optional

Expand Down
4 changes: 2 additions & 2 deletions src/meteofrance_api/const.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Consts for Météo-France weather forecast python API."""
"""Constants for Météo-France weather forecast python API."""

METEOFRANCE_API_URL = "https://webservice.meteofrance.com"
METEOFRANCE_API_TOKEN = "__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__" # noqa: S105

Expand Down
1 change: 0 additions & 1 deletion src/meteofrance_api/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Météo-France API module exceptions."""


Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Helpers to be used with the Météo-France REST API ."""

import math
from datetime import datetime
from typing import Dict
Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/dictionary.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Dictionary Python model for the Météo-France REST API."""

from typing import List
from typing import Optional
from typing import TypedDict
Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/forecast.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Weather forecast Python model for the Météo-France REST API."""

from datetime import datetime
from typing import Any
from typing import Dict
Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/observation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Weather observation Python model for the Météo-France REST API."""

from datetime import datetime
from typing import Any
from typing import Dict
Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/picture_of_the_day.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Picture of the Day Python model for the Météo-France REST API."""

from typing import TypedDict


Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/place.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Place Python model for the Météo-France REST API."""

from typing import Optional
from typing import TypedDict

Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/rain.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Rain in the next hour Python model for the Météo-France REST API."""

from datetime import datetime
from typing import Any
from typing import Dict
Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/model/warning.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
"""Weather alert buletin Python model for the Météo-France REST API.

For getting weather alerts in France Metropole and Andorre.
"""

from typing import Any
from typing import Dict
from typing import List
Expand Down
2 changes: 1 addition & 1 deletion src/meteofrance_api/session.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Session managers for the Météo-France REST API."""

from typing import Any
from typing import Optional

Expand Down
Loading