Skip to content

Commit dada4b4

Browse files
committed
revert reformatting
1 parent 578b685 commit dada4b4

File tree

8 files changed

+3
-15
lines changed

8 files changed

+3
-15
lines changed

fgpyo/fasta/builder.py

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
'AAAAAAAAAANNN'
3333
3434
"""
35-
3635
import textwrap
3736
from pathlib import Path
3837
from typing import TYPE_CHECKING

fgpyo/fastx/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
seq2: GGGG, seq2: TTTT
2525
2626
"""
27-
2827
from contextlib import AbstractContextManager
2928
from pathlib import Path
3029
from types import TracebackType

fgpyo/io/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"10"
4343
4444
"""
45-
4645
import gzip
4746
import io
4847
import os

fgpyo/read_structure.py

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
correspond to the given read segment
6262
6363
"""
64-
6564
import enum
6665
from typing import Iterable
6766
from typing import Iterator

fgpyo/sam/builder.py

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
- :class:`~fgpyo.sam.builder.SamBuilder` -- A builder class that allows the accumulation
1111
of alignment records and access as a list and writing to file.
1212
"""
13-
1413
from array import array
1514
from pathlib import Path
1615
from random import Random

fgpyo/util/inspect.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ def split_at_given_level(
6868

6969

7070
def _get_parser(
71-
cls: Type,
72-
type_: TypeAlias,
73-
parsers: Optional[Dict[type, Callable[[str], Any]]] = None,
71+
cls: Type, type_: TypeAlias, parsers: Optional[Dict[type, Callable[[str], Any]]] = None,
7472
) -> partial:
7573
"""Attempts to find a parser for a provided type.
7674
@@ -254,9 +252,7 @@ def dict_parse(dict_string: str) -> Dict[Any, Any]:
254252

255253

256254
def attr_from(
257-
cls: Type,
258-
kwargs: Dict[str, str],
259-
parsers: Optional[Dict[type, Callable[[str], Any]]] = None,
255+
cls: Type, kwargs: Dict[str, str], parsers: Optional[Dict[type, Callable[[str], Any]]] = None,
260256
) -> Any:
261257
"""Builds an attr class from key-word arguments
262258

fgpyo/util/types.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ def make_union_parser(union: Type[UnionType], parsers: Iterable[Callable[[str],
110110

111111

112112
def _make_literal_parser_worker(
113-
literal: Type[LiteralType],
114-
parsers: Iterable[Callable[[str], LiteralType]],
115-
value: str,
113+
literal: Type[LiteralType], parsers: Iterable[Callable[[str], LiteralType]], value: str,
116114
) -> LiteralType:
117115
"""Worker function behind literal parsing. Iterates through possible literals and
118116
returns the value produced by the first literal that matches expectation.

fgpyo/vcf/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
order via the :func:`~fgpyo.vcf.builder.VariantBuilder.to_sorted_list()` method.
4949
5050
"""
51-
5251
from contextlib import contextmanager
5352
from pathlib import Path
5453
from typing import Generator

0 commit comments

Comments
 (0)