Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
chore: remove __future__ again
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Jan 16, 2025
1 parent 8848fa9 commit be5c950
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 26 deletions.
8 changes: 4 additions & 4 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/config/models/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field

from check_phat_nguoi.types import ApiEnum
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/config/models/plate_info.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import Any, override

from pydantic import BaseModel, ConfigDict, Field
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/context/plates/models/plate_detail.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import Any, override

from pydantic import BaseModel, Field
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from datetime import datetime
from typing import override

Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/get_data/engines/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from abc import abstractmethod
from logging import getLogger
from typing import Self
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/get_data/engines/check_phat_nguoi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import json
from asyncio import TimeoutError
from datetime import datetime
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/get_data/engines/csgt.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from datetime import datetime
from http.cookies import SimpleCookie
from io import BytesIO
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/get_data/engines/phat_nguoi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import re
from asyncio import TimeoutError
from datetime import datetime
Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/types/vehicle_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from enum import IntEnum
from typing import Any, Literal, TypeAlias

Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/utils/httpaio_session.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from logging import getLogger
from typing import Any, Final, Self

Expand Down
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/utils/singleton.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import Self


Expand Down

0 comments on commit be5c950

Please sign in to comment.