this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› Don't resolve references strictly in dry-run mode

+2 -2
+2 -2
issurge/main.py
··· 21 21 from rich import print 22 22 23 23 from issurge.parser import parse 24 - from issurge.utils import debug 24 + from issurge.utils import debug, dry_running 25 25 from issurge import interactive 26 26 27 27 ··· 40 40 print("Submitting issues...") 41 41 references_resolutions: dict[int, int] = {} 42 42 for issue in parse(Path(opts["<file>"]).read_text()): 43 - issue = issue.resolve_references(references_resolutions, strict=True) 43 + issue = issue.resolve_references(references_resolutions, strict=not dry_running()) 44 44 number = issue.submit(opts["<submitter-args>"]) 45 45 print(f"Created issue #{number}") 46 46 if issue.reference and number: