Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Nov 23, 2023
1 parent 0f3ed8a commit 014fa25
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions openlane/common/metrics/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@
higher_is_better=True,
critical=True,
)
Metric(
"timing__unannotated_nets__count",
aggregator=max_aggregator,
higher_is_better=False,
)
Metric(
"timing__unannotated_nets_filtered__count",
aggregator=max_aggregator,
higher_is_better=False,
)
Metric(
"timing__setup__tns",
aggregator=sum_aggregator,
Expand Down
4 changes: 1 addition & 3 deletions test/common/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def test_is_string():
def test_parse_metric_modifiers():
from openlane.common import parse_metric_modifiers

assert parse_metric_modifiers(
"category__name__optional_name_modifier__etc",
) == (
assert parse_metric_modifiers("category__name__optional_name_modifier__etc",) == (
"category__name__optional_name_modifier__etc",
{},
), "Improperly parsed metric without modifiers"
Expand Down
2 changes: 1 addition & 1 deletion test/steps/all
Submodule all updated 0 files

0 comments on commit 014fa25

Please sign in to comment.