File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22from dataclasses import dataclass
33from typing import Sequence
44
5- from .pdl_dumper import blocks_to_dict , dump_yaml
6-
75from .pdl_ast import (
86 AdvancedBlockType ,
97 ArrayBlock ,
3230 TextBlock ,
3331)
3432from .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
4847def 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 (
You can’t perform that action at this time.
0 commit comments