style: apply ruff formatting
This commit is contained in:
@@ -24,6 +24,7 @@ from fastapi_traffic.middleware import RateLimitMiddleware
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import AsyncGenerator, Generator
|
||||
|
||||
pass
|
||||
|
||||
|
||||
|
||||
@@ -143,9 +143,7 @@ class TestConfigLoaderEnv:
|
||||
assert config.exempt_ips == {"127.0.0.1", "192.168.1.1", "10.0.0.1"}
|
||||
assert config.exempt_paths == {"/health", "/metrics"}
|
||||
|
||||
def test_load_global_config_from_env_empty_sets(
|
||||
self, loader: ConfigLoader
|
||||
) -> None:
|
||||
def test_load_global_config_from_env_empty_sets(self, loader: ConfigLoader) -> None:
|
||||
"""Test loading GlobalConfig with empty set fields."""
|
||||
env_vars = {
|
||||
"FASTAPI_TRAFFIC_GLOBAL_EXEMPT_IPS": "",
|
||||
|
||||
Reference in New Issue
Block a user