Skip to content

Commit 54097d0

Browse files
committed
cleanup
Signed-off-by: Mandana Vaziri <[email protected]>
1 parent 8e21bb9 commit 54097d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/pdl/pdl_analysis.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
from dataclasses import dataclass
33
from typing import Sequence
44

5-
from .pdl_dumper import blocks_to_dict, dump_yaml
6-
75
from .pdl_ast import (
86
AdvancedBlockType,
97
ArrayBlock,
@@ -32,6 +30,7 @@
3230
TextBlock,
3331
)
3432
from .pdl_ast_utils import iter_block_children
33+
from .pdl_dumper import blocks_to_dict, dump_yaml
3534

3635

3736
@dataclass
@@ -47,7 +46,10 @@ def with_implicit_ignore(self, b):
4746

4847
def unused_warning(block: BlockType):
4948
global _DISPLAY_UNUSED_HINT # pylint: disable= global-statement
50-
print(f"Warning: the result of block `{dump_yaml(blocks_to_dict(block, json_compatible=True))}` is not used.", file=sys.stderr)
49+
print(
50+
f"Warning: the result of block `{dump_yaml(blocks_to_dict(block, json_compatible=True))}` is not used.",
51+
file=sys.stderr,
52+
)
5153
if _DISPLAY_UNUSED_HINT:
5254
_DISPLAY_UNUSED_HINT = False
5355
print(

0 commit comments

Comments
 (0)