Skip to content

Commit 240cea2

Browse files
Tidy up linting
Signed-off-by: Mike Fuller <mike@finops.org>
1 parent 4f2f3e2 commit 240cea2

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

focus_validator/config_objects/focus_to_duckdb_converter.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@
66
import time
77
from abc import ABC, abstractmethod
88
from types import MappingProxyType, SimpleNamespace
9-
from typing import Any, Callable, ClassVar, Dict, List, NamedTuple, Optional, Set, Tuple, Union
9+
from typing import (
10+
Any,
11+
Callable,
12+
ClassVar,
13+
Dict,
14+
List,
15+
NamedTuple,
16+
Optional,
17+
Set,
18+
Tuple,
19+
Union,
20+
)
1021

1122
import duckdb # type: ignore[import-untyped]
1223
import sqlglot # type: ignore[import-untyped]
@@ -23,6 +34,7 @@
2334

2435
class DependencyRef(NamedTuple):
2536
"""Reference to a dependency rule with tracking information."""
37+
2638
rule_id: str
2739
rule_global_idx: int
2840
referenced_rule_id: str
@@ -1982,7 +1994,7 @@ def generateSql(self) -> SQLQuery: # noqa: C901
19821994
dep_ref = DependencyRef(
19831995
rule_id=dep_id,
19841996
rule_global_idx=node.idx,
1985-
referenced_rule_id=dep_id
1997+
referenced_rule_id=dep_id,
19861998
)
19871999
self._dependencies.append(dep_ref)
19882000
break

focus_validator/outputter/outputter_web.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ def _generate_html(self, web_results: Dict[str, Any]) -> str:
15021502
setupFiltering();
15031503
applySmartDefaults();
15041504
updateSummaryCardActive('all');
1505-
1505+
15061506
// Apply initial filtering to respect checkbox states on page load
15071507
// This ensures MAY rules are hidden if the MAY checkbox is unchecked by default
15081508
const statusFilter = document.getElementById('statusFilter');
@@ -2751,7 +2751,7 @@ def _generate_html(self, web_results: Dict[str, Any]) -> str:
27512751
// Re-apply filtering and defaults
27522752
setupFiltering();
27532753
applySmartDefaults();
2754-
2754+
27552755
// Apply filters to respect checkbox states when switching views
27562756
const statusFilter = document.getElementById('statusFilter');
27572757
if (statusFilter) {{

0 commit comments

Comments
 (0)