From 39fc70d17ee3fe7e3c0b2ed6049f3b2ff6890d14 Mon Sep 17 00:00:00 2001 From: clintval Date: Thu, 8 Aug 2024 09:52:09 -0700 Subject: [PATCH] chore: style code --- pybedlite/tests/test_overlap_detector.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pybedlite/tests/test_overlap_detector.py b/pybedlite/tests/test_overlap_detector.py index 4bc801e..4aed439 100644 --- a/pybedlite/tests/test_overlap_detector.py +++ b/pybedlite/tests/test_overlap_detector.py @@ -213,7 +213,9 @@ def test_construction_from_ucsc_with_strand(strand: str) -> None: `Interval.from_ucsc()` should correctly parse UCSC position-formatted strings with strands. """ expected_interval = Interval("chr1", 100, 200, negative=(strand == "-")) - assert Interval.from_ucsc(f"chr1:101-200({strand})") == expected_interval # noqa: E231 # false positive lint with flake8 + assert ( + Interval.from_ucsc(f"chr1:101-200({strand})") == expected_interval + ) # noqa: E231 # false positive lint with flake8 @pytest.mark.parametrize( @@ -223,7 +225,9 @@ def test_construction_from_ucsc_other_contigs(contig: str) -> None: """ `Interval.from_ucsc()` should accommodate non-human, decoy, custom, and other contig names. """ - assert Interval.from_ucsc(f"{contig}:101-200") == Interval(contig, 100, 200) # noqa: E231 # false positive lint with flake8 + assert Interval.from_ucsc(f"{contig}:101-200") == Interval( + contig, 100, 200 + ) # noqa: E231 # false positive lint with flake8 def test_that_overlap_detector_allows_generic_parameterization() -> None: