Skip to content

Commit 99e30d6

Browse files
committed
fix: resolve ruff lint errors (import order, unused import, dict comprehension)
1 parent bc571c1 commit 99e30d6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/azure_pricing_mcp/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from .config import DEFAULT_CUSTOMER_DISCOUNT
99
from .databricks.handlers import DatabricksHandlers
10-
from .github_pricing.handlers import GitHubPricingHandlers
1110
from .formatters import (
1211
_get_discount_tip,
1312
format_cost_estimate_response,
@@ -24,6 +23,7 @@
2423
format_spot_eviction_rates_response,
2524
format_spot_price_history_response,
2625
)
26+
from .github_pricing.handlers import GitHubPricingHandlers
2727
from .services import DatabricksService, PricingService, PTUService, SKUService, SpotService
2828
from .services.orphaned import OrphanedResourcesService
2929

src/azure_pricing_mcp/services/github_pricing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def _get_actions() -> dict[str, Any]:
343343
)
344344
return {
345345
"runners": runners,
346-
"free_minutes": {plan: info for plan, info in GITHUB_ACTIONS_FREE_MINUTES.items()},
346+
"free_minutes": dict(GITHUB_ACTIONS_FREE_MINUTES.items()),
347347
"multipliers": {
348348
"Linux": 1,
349349
"Windows": 2,

tests/test_github_pricing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
GITHUB_COPILOT_PLANS,
99
GITHUB_PLANS,
1010
GITHUB_PRICING_DATA_VERSION,
11-
GITHUB_PRODUCT_ALIASES,
1211
GITHUB_SECURITY_PRODUCTS,
1312
)
1413
from azure_pricing_mcp.github_pricing.formatters import (

0 commit comments

Comments
 (0)