SERVE_STATIC_ASSETS will be false and plugin will serve no static asset
Actual Results
At ConfigArgParse==0.10.0
py-skygear: error: SERVE_STATIC_ASSETS is a flag but is being set to 'false'
If we upgrade ConfigArgParse==0.11.0, there will no error. However, SERVE_STATIC_ASSETS will be true even it is SERVE_STATIC_ASSETS=false. Only missing of ENVVAR will make the setting to be False
Probably need to fix on ConfigArgParse, or avoid using store_true or store_false.
Command to run
SERVE_STATIC_ASSETS=false py-skygear
Expected Results
SERVE_STATIC_ASSETS will be false and plugin will serve no static asset
Actual Results
At
ConfigArgParse==0.10.0
py-skygear: error: SERVE_STATIC_ASSETS is a flag but is being set to 'false'
If we upgrade
ConfigArgParse==0.11.0
, there will no error. However, SERVE_STATIC_ASSETS will be true even it isSERVE_STATIC_ASSETS=false
. Only missing of ENVVAR will make the setting to beFalse
Probably need to fix on
ConfigArgParse
, or avoid usingstore_true
orstore_false
.