Skip to content

Commit b9cc8ac

Browse files
committed
de-duplicate
1 parent 941b77a commit b9cc8ac

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

release_management/__main__.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22

33
import argparse
44

5-
CMD_FULL_JSON = 'full-json'
6-
CMD_UPDATE_PEPS = 'update-peps'
7-
CMD_RELEASE_CYCLE = 'release-cycle'
8-
95
commands = (
10-
CMD_FULL_JSON,
11-
CMD_UPDATE_PEPS,
12-
CMD_RELEASE_CYCLE,
6+
CMD_FULL_JSON := 'full-json',
7+
CMD_UPDATE_PEPS := 'update-peps',
8+
CMD_RELEASE_CYCLE := 'release-cycle',
139
)
1410
parser = argparse.ArgumentParser(allow_abbrev=False)
1511
parser.add_argument('COMMAND', choices=commands)

0 commit comments

Comments
 (0)