refactor: extract shared auth.py module #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
get_credentials(),REMOTESdict, and argparse helpers (add_remote_args,resolve_remote) are duplicated acrosscreate_issue.pyandcreate_pr.py.Extract into a shared
auth.pymodule and refactor all scripts to import from it.auth.pywith shared functionscreate_pr.pyto useauth.pycreate_issue.pyto useauth.pymanage_labels.pyto useauth.py