Revert allow_abbrev=False in helper scripts
This commit is contained in:
parent
019455298b
commit
bd647fdd8b
|
@ -74,7 +74,7 @@ def report(issues):
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
parser = argparse.ArgumentParser("process bitbucket issues", allow_abbrev=False)
|
parser = argparse.ArgumentParser("process bitbucket issues")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--refresh", action="store_true", help="invalidate cache, refresh issues"
|
"--refresh", action="store_true", help="invalidate cache, refresh issues"
|
||||||
)
|
)
|
||||||
|
|
|
@ -105,7 +105,7 @@ def changelog(version, write_out=False):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
init(autoreset=True)
|
init(autoreset=True)
|
||||||
parser = argparse.ArgumentParser(allow_abbrev=False)
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("version", help="Release version")
|
parser.add_argument("version", help="Release version")
|
||||||
options = parser.parse_args()
|
options = parser.parse_args()
|
||||||
pre_release(options.version)
|
pre_release(options.version)
|
||||||
|
|
|
@ -4,7 +4,7 @@ import pathlib
|
||||||
HERE = pathlib.Path(__file__).parent
|
HERE = pathlib.Path(__file__).parent
|
||||||
TEST_CONTENT = (HERE / "template_test.py").read_bytes()
|
TEST_CONTENT = (HERE / "template_test.py").read_bytes()
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(allow_abbrev=False)
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("numbers", nargs="*", type=int)
|
parser.add_argument("numbers", nargs="*", type=int)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue