diff --git a/ruff.toml b/ruff.toml index c7dab9a..2a79aae 100644 --- a/ruff.toml +++ b/ruff.toml @@ -2,10 +2,10 @@ unsafe-fixes = true [lint] extend-select = [ - "I", # Isort - "F401", # Unused imports - "FA100", # future-rewritable-type-annotation - "FA102", # future-required-type-annotation + "I", # Isort + "F401", # Unused imports + # "FA100", # future-rewritable-type-annotation + # "FA102", # future-required-type-annotation ] extend-ignore = [ # "F403", # import * diff --git a/src/check_phat_nguoi/config/models/config.py b/src/check_phat_nguoi/config/models/config.py index 0d5e479..1b78610 100644 --- a/src/check_phat_nguoi/config/models/config.py +++ b/src/check_phat_nguoi/config/models/config.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from pydantic import BaseModel, ConfigDict, Field from check_phat_nguoi.types import ApiEnum diff --git a/src/check_phat_nguoi/config/models/plate_info.py b/src/check_phat_nguoi/config/models/plate_info.py index 732ad83..bb67774 100644 --- a/src/check_phat_nguoi/config/models/plate_info.py +++ b/src/check_phat_nguoi/config/models/plate_info.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from typing import Any, override from pydantic import BaseModel, ConfigDict, Field diff --git a/src/check_phat_nguoi/context/plates/models/plate_detail.py b/src/check_phat_nguoi/context/plates/models/plate_detail.py index 85b44d6..90fa727 100644 --- a/src/check_phat_nguoi/context/plates/models/plate_detail.py +++ b/src/check_phat_nguoi/context/plates/models/plate_detail.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from typing import Any, override from pydantic import BaseModel, Field diff --git a/src/check_phat_nguoi/context/plates/models/violation_detail.py b/src/check_phat_nguoi/context/plates/models/violation_detail.py index ad71a7f..a142436 100644 --- a/src/check_phat_nguoi/context/plates/models/violation_detail.py +++ b/src/check_phat_nguoi/context/plates/models/violation_detail.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from datetime import datetime from typing import override diff --git a/src/check_phat_nguoi/get_data/engines/base.py b/src/check_phat_nguoi/get_data/engines/base.py index 30aa4db..cd2618e 100644 --- a/src/check_phat_nguoi/get_data/engines/base.py +++ b/src/check_phat_nguoi/get_data/engines/base.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from abc import abstractmethod from logging import getLogger from typing import Self diff --git a/src/check_phat_nguoi/get_data/engines/check_phat_nguoi.py b/src/check_phat_nguoi/get_data/engines/check_phat_nguoi.py index 13199ad..b6014df 100644 --- a/src/check_phat_nguoi/get_data/engines/check_phat_nguoi.py +++ b/src/check_phat_nguoi/get_data/engines/check_phat_nguoi.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import json from asyncio import TimeoutError from datetime import datetime diff --git a/src/check_phat_nguoi/get_data/engines/csgt.py b/src/check_phat_nguoi/get_data/engines/csgt.py index e24dceb..ddbe8bd 100644 --- a/src/check_phat_nguoi/get_data/engines/csgt.py +++ b/src/check_phat_nguoi/get_data/engines/csgt.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from datetime import datetime from http.cookies import SimpleCookie from io import BytesIO diff --git a/src/check_phat_nguoi/get_data/engines/phat_nguoi.py b/src/check_phat_nguoi/get_data/engines/phat_nguoi.py index dca2874..3c7aa4c 100644 --- a/src/check_phat_nguoi/get_data/engines/phat_nguoi.py +++ b/src/check_phat_nguoi/get_data/engines/phat_nguoi.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import re from asyncio import TimeoutError from datetime import datetime diff --git a/src/check_phat_nguoi/types/vehicle_type.py b/src/check_phat_nguoi/types/vehicle_type.py index 7586d3d..44d115f 100644 --- a/src/check_phat_nguoi/types/vehicle_type.py +++ b/src/check_phat_nguoi/types/vehicle_type.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from enum import IntEnum from typing import Any, Literal, TypeAlias diff --git a/src/check_phat_nguoi/utils/httpaio_session.py b/src/check_phat_nguoi/utils/httpaio_session.py index 24aeb56..9bb47ff 100644 --- a/src/check_phat_nguoi/utils/httpaio_session.py +++ b/src/check_phat_nguoi/utils/httpaio_session.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from logging import getLogger from typing import Any, Final, Self diff --git a/src/check_phat_nguoi/utils/singleton.py b/src/check_phat_nguoi/utils/singleton.py index db9d6f5..aa86dc6 100644 --- a/src/check_phat_nguoi/utils/singleton.py +++ b/src/check_phat_nguoi/utils/singleton.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from typing import Self