diff --git a/accuweather/const.py b/accuweather/const.py index d6f9c17..79714e0 100644 --- a/accuweather/const.py +++ b/accuweather/const.py @@ -1,4 +1,5 @@ """Constants for AccuWeather library.""" + from __future__ import annotations ATTR_CURRENT_CONDITIONS: str = "currentconditions" diff --git a/accuweather/utils.py b/accuweather/utils.py index a7f22dc..923f0d1 100644 --- a/accuweather/utils.py +++ b/accuweather/utils.py @@ -1,4 +1,5 @@ """Utils for AccuWeather.""" + from __future__ import annotations from typing import Any diff --git a/example.py b/example.py index a39a501..52cb00c 100644 --- a/example.py +++ b/example.py @@ -1,4 +1,5 @@ """Example of usage.""" + import asyncio import logging diff --git a/requirements-test.txt b/requirements-test.txt index f25fa0c..db72bb8 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -6,4 +6,4 @@ pytest-cov==4.1.0 pytest-error-for-skips==2.0.2 pytest-timeout==2.2.0 pytest==8.1.0 -ruff==0.2.2 +ruff==0.3.0 diff --git a/setup.py b/setup.py index 868bb55..ffdb01b 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Setup module for accuweather.""" + from pathlib import Path from setuptools import setup diff --git a/tests/test_init.py b/tests/test_init.py index 1232110..221217c 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -1,4 +1,5 @@ """Tests for accuweather package.""" + from http import HTTPStatus from typing import Any