Use list instead of tuple for argparse options (#275)
Aparently pycharm has a problem with tuples?
This commit is contained in:
1 parent
c5d4e6ca53
commit
f66c8e83e6
1 file changed
+1
-1
@@ -43,7 +43,7 @@ class Command(BaseCommand):
|
||||
)
|
||||
parser.add_argument(
|
||||
'-f', '--format', dest='format',
|
||||
default='', choices=('json', 'yaml'),
|
||||
default='', choices=['json', 'yaml'],
|
||||
type=str,
|
||||
help='Output format. If not given, it is guessed from the output file extension and defaults to json.'
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user