|
@@ -27,6 +27,7 @@ import re
|
|
|
import sys
|
|
import sys
|
|
|
import json
|
|
import json
|
|
|
import getpass
|
|
import getpass
|
|
|
|
|
+import platform
|
|
|
import shutil
|
|
import shutil
|
|
|
import django
|
|
import django
|
|
|
|
|
|
|
@@ -51,7 +52,7 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
|
|
|
'SHELL_CONFIG': {
|
|
'SHELL_CONFIG': {
|
|
|
'IS_TTY': {'type': bool, 'default': lambda _: sys.stdout.isatty()},
|
|
'IS_TTY': {'type': bool, 'default': lambda _: sys.stdout.isatty()},
|
|
|
'USE_COLOR': {'type': bool, 'default': lambda c: c['IS_TTY']},
|
|
'USE_COLOR': {'type': bool, 'default': lambda c: c['IS_TTY']},
|
|
|
- 'SHOW_PROGRESS': {'type': bool, 'default': lambda c: c['IS_TTY']},
|
|
|
|
|
|
|
+ 'SHOW_PROGRESS': {'type': bool, 'default': lambda c: (c['IS_TTY'] and platform.system() != 'Darwin')}, # progress bars are buggy on mac, disable for now
|
|
|
'IN_DOCKER': {'type': bool, 'default': False},
|
|
'IN_DOCKER': {'type': bool, 'default': False},
|
|
|
# TODO: 'SHOW_HINTS': {'type: bool, 'default': True},
|
|
# TODO: 'SHOW_HINTS': {'type: bool, 'default': True},
|
|
|
},
|
|
},
|