Skip to content

Commit 5a5d7a1

Browse files
committed
chore(lint): minor format fixes
1 parent 0ef2896 commit 5a5d7a1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

algorithms/sliding_window/repeated_dna_sequences/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def find_repeated_dna_sequences(dna_sequence: str) -> List[str]:
4747
# Validate input contains only valid DNA bases
4848
if not all(c in to_int for c in dna_sequence):
4949
raise ValueError(
50-
f"DNA sequence contains invalid characters. Only A, C, G, T are allowed."
50+
"DNA sequence contains invalid characters. Only A, C, G, T are allowed."
5151
)
5252

5353
encoded_sequence = [to_int[c] for c in dna_sequence]

puzzles/arrays/maxlen_contiguous_binary_subarray/test_maxlen_contiguous_binary_subarray.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
2+
import random
33
from . import find_max_length
44

55

@@ -50,7 +50,6 @@ def test_0_0_1_1_1_0_0_0_0_0_returns_6(self):
5050
self.assertEqual(expected, actual)
5151

5252

53-
@test.describe("Random Tests")
5453
def tests():
5554
def check(s) -> int:
5655
Track, balance, index, len1 = {}, 0, 0, 0
@@ -83,7 +82,6 @@ def shuffs(s):
8382
test.assert_equals(binarray(s.copy()), answer)
8483

8584
def rnd_tests(title, l, m, flag):
86-
@test.it(title + " size")
8785
def _():
8886
for _ in range(l):
8987
if flag:

0 commit comments

Comments
 (0)