Skip to content

Commit

Permalink
apply fixes and formatting from ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Feb 8, 2024
1 parent 9105fb1 commit 027792d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions romancal/associations/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ def test_run_generate(self):
for ppars in self.pools:
pool = combine_pools(ppars.path, **ppars.kwargs)
asns = generate(pool, rules)
assert (
len(asns) == ppars.n_asns
), ppars.path + ": n_asns not expected {} {}".format(
len(asns), ppars.n_asns
assert len(asns) == ppars.n_asns, (
ppars.path + f": n_asns not expected {len(asns)} {ppars.n_asns}"
)
for asn, candidates in zip(asns, ppars.candidates):
assert set(asn.candidates) == set(candidates)
Expand Down
1 change: 0 additions & 1 deletion romancal/lib/suffix.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"pipeline",
"dq_init",
"linearitystep",
"dark_current",
"jump",
"sourcedetection",
"sourcedetectionstep",
Expand Down

0 comments on commit 027792d

Please sign in to comment.