File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 3131
3232from templateflow import __package__ , api
3333from templateflow ._loader import Loader as _Loader
34- from templateflow .conf import TF_HOME , TF_USE_DATALAD
34+ from templateflow .conf import TF_HOME , TF_USE_DATALAD , TF_AUTOUPDATE
3535
3636load_data = _Loader (__package__ )
3737
@@ -91,6 +91,7 @@ def config():
9191
9292 TEMPLATEFLOW_HOME={ TF_HOME }
9393 TEMPLATEFLOW_USE_DATALAD={ 'on' if TF_USE_DATALAD else 'off' }
94+ TEMPLATEFLOW_AUTOUPDATE={ 'on' if TF_AUTOUPDATE else 'off' }
9495""" )
9596
9697
Original file line number Diff line number Diff line change 1010
1111load_data = Loader (__package__ )
1212
13+
1314def _env_to_bool (envvar : str , default : bool ) -> bool :
1415 """Check for environment variable switches and convert to booleans."""
1516 switches = {
You can’t perform that action at this time.
0 commit comments