Skip to content

Commit 91ebbdf

Browse files
mstorahulkaushal04claude
committed
style: Fix ruff formatting in test_metric_writer
Co-Authored-By: Rahul Kaushal <rahulkaushal04@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6ce5ed0 commit 91ebbdf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_metric_writer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ class CounterMetric(Metric):
5050
fpath = tmp_path / "test.txt"
5151

5252
with MetricWriter(CounterMetric, fpath) as writer:
53-
writer.write(
54-
CounterMetric(name="test", counts=Counter({FakeEnum.FOO: 3, FakeEnum.BAR: 4}))
55-
)
53+
writer.write(CounterMetric(name="test", counts=Counter({FakeEnum.FOO: 3, FakeEnum.BAR: 4})))
5654

5755
with fpath.open("r") as f:
5856
assert next(f) == "name\tfoo\tbar\n"

0 commit comments

Comments
 (0)