mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 08:50:54 +00:00
autopep
This commit is contained in:
@@ -12,7 +12,7 @@ def parse_cmx3600(f: TextIO, tolerant: bool = False) -> EditList:
|
||||
Parse a CMX 3600 EDL.
|
||||
|
||||
:param TextIO f: a file-like object, an opened CMX 3600 .EDL file.
|
||||
:param bool tolerant: If `True`, a relaxed event line recognition method
|
||||
:param bool tolerant: If `True`, a relaxed event line recognition method
|
||||
will be used in the case the stricter default method fails.
|
||||
:returns: An :class:`pycmx.edit_list.EditList`.
|
||||
"""
|
||||
|
||||
@@ -13,7 +13,8 @@ from .statements import (StmtCdlSat, StmtCdlSop, StmtCorruptRemark, StmtFrmc,
|
||||
from .util import collimate
|
||||
|
||||
|
||||
def parse_cmx3600_statements(file: TextIO, tolerant: bool = False) -> List[object]:
|
||||
def parse_cmx3600_statements(file: TextIO,
|
||||
tolerant: bool = False) -> List[object]:
|
||||
"""
|
||||
Return a list of every statement in the file argument.
|
||||
"""
|
||||
@@ -38,7 +39,8 @@ def _edl_column_widths(event_field_length, source_field_length) -> List[int]:
|
||||
# 8,8,1,4,2,1,4,13,3,1,1]
|
||||
|
||||
|
||||
def _parse_cmx3600_line(line: str, line_number: int, tolerant: bool = False) -> object:
|
||||
def _parse_cmx3600_line(line: str, line_number: int,
|
||||
tolerant: bool = False) -> object:
|
||||
"""
|
||||
Parses a single CMX EDL line.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user