Skip to content

Commit

Permalink
Run latest black
Browse files Browse the repository at this point in the history
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  • Loading branch information
Noltari committed Feb 18, 2024
1 parent be79769 commit 6474d23
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions aemet_opendata/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""AEMET OpenData API."""

from .interface import AEMET

__all__ = ["AEMET"]
1 change: 1 addition & 0 deletions aemet_opendata/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""AEMET OpenData API exceptions."""

from __future__ import annotations


Expand Down
6 changes: 3 additions & 3 deletions aemet_opendata/town.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ def weather(self) -> dict[str, Any]:
weather[AOD_CONDITION] = forecast.get_condition()
weather[AOD_HUMIDITY] = forecast.get_humidity()
weather[AOD_PRECIPITATION] = forecast.get_precipitation()
weather[
AOD_PRECIPITATION_PROBABILITY
] = forecast.get_precipitation_probability()
weather[AOD_PRECIPITATION_PROBABILITY] = (
forecast.get_precipitation_probability()
)
weather[AOD_TEMP] = forecast.get_temp()
weather[AOD_RAIN] = forecast.get_rain()
weather[AOD_RAIN_PROBABILITY] = forecast.get_rain_probability()
Expand Down
1 change: 1 addition & 0 deletions examples/basic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Basic AEMET OpenData client example."""

import asyncio
import timeit

Expand Down
1 change: 1 addition & 0 deletions examples/get-town-by-coords-precise.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get AEMET OpenData town data by coords example."""

import asyncio
import timeit

Expand Down
1 change: 1 addition & 0 deletions examples/get-town-by-coords.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get AEMET OpenData town data by coords example."""

import asyncio
import timeit

Expand Down
1 change: 1 addition & 0 deletions examples/get-town-by-id.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get AEMET OpenData town data by ID example."""

import asyncio
import timeit

Expand Down
1 change: 1 addition & 0 deletions examples/get-town-forecast-daily.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get AEMET OpenData town daily forecast example."""

import asyncio
import timeit

Expand Down
1 change: 1 addition & 0 deletions examples/get-town-forecast-hourly.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get AEMET OpenData town hourly forecast example."""

import asyncio
import timeit

Expand Down

0 comments on commit 6474d23

Please sign in to comment.