style: apply ruff and black formatting

This commit is contained in:
2026-03-19 21:56:34 +00:00
parent da9f0569b3
commit 874ce445b6

View File

@@ -104,7 +104,6 @@ def example_dotenv_file() -> RateLimitConfig:
env_path = f.name env_path = f.name
try: try:
config = load_rate_limit_config(env_path) config = load_rate_limit_config(env_path)
print(f"From .env: limit={config.limit}, algorithm={config.algorithm}") print(f"From .env: limit={config.limit}, algorithm={config.algorithm}")
print(f"Burst size: {config.burst_size}") print(f"Burst size: {config.burst_size}")
@@ -147,7 +146,6 @@ def example_json_file() -> RateLimitConfig:
json_path = f.name json_path = f.name
try: try:
config = load_rate_limit_config(json_path) config = load_rate_limit_config(json_path)
print(f"From JSON: limit={config.limit}, window={config.window_size}s") print(f"From JSON: limit={config.limit}, window={config.window_size}s")
print(f"Algorithm: {config.algorithm.value}") print(f"Algorithm: {config.algorithm.value}")