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

Commit

Permalink
fix: ruff delete unused var fuk ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Jan 14, 2025
1 parent 6c7a627 commit bc6ae8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/check_phat_nguoi/get_data/engines/phat_nguoi.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_violations(html: str) -> tuple[ViolationDetail, ...] | None:

def _get_violation(violation_html: Tag) -> None:
# FIXME: Use CSS Selector
(
color: str | None = (
color_tag.text.strip()
if (
color_tag := violation_html.select_one(
Expand All @@ -45,7 +45,7 @@ def _get_violation(violation_html: Tag) -> None:
)
else None
)
(
location: str | None = (
location_tag.text.strip()
if (
location_tag := violation_html.select_one(
Expand Down

0 comments on commit bc6ae8d

Please sign in to comment.