From 6a41783a4ea5fdb569860e1dfa54c59352f311a7 Mon Sep 17 00:00:00 2001 From: clintval Date: Thu, 8 Aug 2024 09:50:21 -0700 Subject: [PATCH] chore: silence false positive flake8 lint --- pybedlite/tests/test_overlap_detector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybedlite/tests/test_overlap_detector.py b/pybedlite/tests/test_overlap_detector.py index 4208fe2..4bc801e 100644 --- a/pybedlite/tests/test_overlap_detector.py +++ b/pybedlite/tests/test_overlap_detector.py @@ -213,7 +213,7 @@ 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 + assert Interval.from_ucsc(f"chr1:101-200({strand})") == expected_interval # noqa: E231 # false positive lint with flake8 @pytest.mark.parametrize( @@ -223,7 +223,7 @@ 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) + 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: