diff --git a/dis_cli.py b/dis_cli.py index 9c92571..6b5b2c3 100644 --- a/dis_cli.py +++ b/dis_cli.py @@ -159,14 +159,7 @@ def make_instruction_row( def make_blank_instruction_rows(n: int) -> List[T_INSTRUCTION_ROW]: - return [ - ( - Text(), - Text(), - Text(), - Text(), - ) - ] * n + return [(Text(), Text(), Text(), Text())] * n def find_jump_colors(instructions: List[dis.Instruction]) -> T_JUMP_COLORS: @@ -214,9 +207,7 @@ def make_nums_block(nums: str) -> Text: def make_source_block( - code_lines: List[str], - block_width: int, - theme: Optional[str] = None, + code_lines: List[str], block_width: int, theme: Optional[str] = None, ) -> Syntax: code_lines = textwrap.dedent("\n".join(code_lines)).splitlines() code_lines = [ diff --git a/setup.cfg b/setup.cfg index be237c0..af717d2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = dis_cli -version = 0.1.0 +version = 0.1.1 description = A tool to inspect disassembled Python code on the command line. long_description = file: README.md long_description_content_type = text/markdown