Skip to content

Commit 123b4de

Browse files
committed
Resolve some lints
1 parent 7654e37 commit 123b4de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mygfa/mygfa/gfa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,5 +333,5 @@ def emit(self, outfile: TextIO, showlinks: bool = True) -> None:
333333
for path in sorted(self.paths.items()):
334334
print(str(path[1]), file=outfile)
335335
if showlinks:
336-
for link_str in sorted(map(lambda l: str(l), self.links)):
336+
for link_str in sorted(str(lnk) for lnk in self.links):
337337
print(link_str, file=outfile)

slow_odgi/slow_odgi/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import argparse
22
import sys
33
import io
4-
from typing import Dict, Tuple, List, Optional
4+
from typing import Dict, Tuple, List
55
from collections.abc import Callable
66
import mygfa
77

0 commit comments

Comments
 (0)