Ignore more Ruff rules so we don't spam noqas everywhere

This commit is contained in:
2025-02-24 17:16:06 +01:00
parent ae8949f396
commit b61ea5af19
3 changed files with 20 additions and 13 deletions

View File

@ -54,7 +54,7 @@ def test_parse_time_invalid_timezone() -> None:
def test_parse_time_with_env_timezone(monkeypatch: pytest.MonkeyPatch) -> None:
"""Test the `parse_time` function to ensure it correctly parses a date string into a datetime object using the timezone from the environment.""" # noqa: E501
"""Test the `parse_time` function to ensure it correctly parses a date string into a datetime object using the timezone from the environment."""
date_to_parse = "2023-10-10 10:00:00"
result: datetime | None = parse_time(date_to_parse, "UTC")