fix(lint): remove unused imports and reformat with black

This commit is contained in:
Bu5hm4nn
2026-03-30 08:42:07 +02:00
parent 98e3208b5e
commit 8e1aa4ad26
7 changed files with 28 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
"""Tests for page validation functions and constants."""
from __future__ import annotations
from datetime import date, timedelta
@@ -218,7 +219,7 @@ class TestValidateDateRangeForSymbolBoundaryCases:
"""Test that start > end is caught before symbol-specific bounds."""
# Inverted range that's also before GLD launch
start = date(2000, 1, 1) # Before GLD launch
end = date(1999, 1, 1) # Before start
end = date(1999, 1, 1) # Before start
error = validate_date_range_for_symbol(start, end, "GLD")
# Should get "start > end" error, not "before min date" error
assert error is not None
@@ -311,4 +312,4 @@ class TestValidateNumericInputs:
error_low = validate_numeric_inputs(1000.0, 50000.0, 0.01)
assert error_low is None
error_high = validate_numeric_inputs(1000.0, 50000.0, 0.99)
assert error_high is None
assert error_high is None