Rename my_configuration to mycfg for brevity

This commit is contained in:
Dima Gerasimov 2019-12-19 19:45:25 +00:00 committed by Dmitrii Gerasimov
parent cd804091c3
commit 066641a4ce
31 changed files with 65 additions and 70 deletions

View file

@ -1,13 +1,7 @@
# TODO just eval setup file to populate paths etc?
# TODO note sure if it would
# TODO maybe just import everything?
# TODO how to make it mypy friendly? maybe defensive import? or mypy config? or interface file?
try:
import my_configuration
paths = my_configuration.paths # type: ignore
import mycfg
except ImportError:
import warnings
warnings.warn("my_configuration package isn't found! That might result in issues")
paths = None # type: ignore
warnings.warn("mycfg package isn't found! That might result in issues")