Skip to content

Commit

Permalink
zip keyword removed, flake8 was complaining with B905, but that must …
Browse files Browse the repository at this point in the history
…not work on all python versions
  • Loading branch information
manulera authored and BjornFJohansson committed Jan 25, 2025
1 parent f9c8975 commit 105c7fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
ignore = E203, E266, E501, W503, F403, E741
ignore = E203, E266, E501, W503, F403, E741, B905
max-line-length = 119
max-complexity = 18
select = B,C,E,F,W,T4,B9
4 changes: 2 additions & 2 deletions tests/test_module_dseqrecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_orfs():
)

lens = (1581, 1521, 1494, 1185, 1002)
for orf, ln in zip(s.orfs(1002), lens, strict=True):
for orf, ln in zip(s.orfs(1002), lens):
assert len(orf) == ln


Expand Down Expand Up @@ -118,7 +118,7 @@ def test_initialization():

circular = [True, True, False, False]

for b, ci in zip(a, circular, strict=True):
for b, ci in zip(a, circular):
assert isinstance(b.seq, Dseq)
assert str(b.seq.watson) == "attt"
assert str(b.seq.crick) == "aaat"
Expand Down

0 comments on commit 105c7fc

Please sign in to comment.