diff --git a/.editorconfig b/.editorconfig index f5c89b529011795a395299e8de293fe818050159..9476ec809b8938c3d74a09078548281eec82aee6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -22,7 +22,7 @@ indent_size = 4 [Makefile] indent_style = tab -# Indentation override for all JS under lib directory +# Indentation override for all JS under libs directory [lib/**.js] indent_style = space indent_size = 2 diff --git a/application/extensions/init_elasticsearch.py b/application/extensions/init_elasticsearch.py index 4e5aa2178d8e5f6f191c330949ca301caf0c2f19..20c21618e535b5eabf2ad1ee58f56a7fbd480e0c 100644 --- a/application/extensions/init_elasticsearch.py +++ b/application/extensions/init_elasticsearch.py @@ -13,7 +13,7 @@ from flask import Flask -from application.lib import FlaskElasticsearch +from application.libs import FlaskElasticsearch es = FlaskElasticsearch() diff --git a/application/extensions/init_logger.py b/application/extensions/init_logger.py index 62e96a5c01e9cce12368402778293cc4d85d43ef..598f56cbfc1066857a789bd3dd26fbe8816e56f6 100644 --- a/application/extensions/init_logger.py +++ b/application/extensions/init_logger.py @@ -12,7 +12,7 @@ from flask import Flask -from application.lib import FlaskLoguru +from application.libs import FlaskLoguru def init_logger(app: Flask) -> None: diff --git a/application/lib/__init__.py b/application/libs/__init__.py similarity index 100% rename from application/lib/__init__.py rename to application/libs/__init__.py diff --git a/application/lib/config/__init__.py b/application/libs/config/__init__.py similarity index 100% rename from application/lib/config/__init__.py rename to application/libs/config/__init__.py diff --git a/application/lib/config/consul.py b/application/libs/config/consul.py similarity index 100% rename from application/lib/config/consul.py rename to application/libs/config/consul.py diff --git a/application/lib/config/local.py b/application/libs/config/local.py similarity index 100% rename from application/lib/config/local.py rename to application/libs/config/local.py diff --git a/application/lib/flask_elasticsearch/__init__.py b/application/libs/flask_elasticsearch/__init__.py similarity index 100% rename from application/lib/flask_elasticsearch/__init__.py rename to application/libs/flask_elasticsearch/__init__.py diff --git a/application/lib/flask_elasticsearch/elasticsearch.py b/application/libs/flask_elasticsearch/elasticsearch.py similarity index 100% rename from application/lib/flask_elasticsearch/elasticsearch.py rename to application/libs/flask_elasticsearch/elasticsearch.py diff --git a/application/lib/flask_loguru/__init__.py b/application/libs/flask_loguru/__init__.py similarity index 100% rename from application/lib/flask_loguru/__init__.py rename to application/libs/flask_loguru/__init__.py diff --git a/application/lib/flask_loguru/format.py b/application/libs/flask_loguru/format.py similarity index 100% rename from application/lib/flask_loguru/format.py rename to application/libs/flask_loguru/format.py diff --git a/application/lib/flask_loguru/logger.py b/application/libs/flask_loguru/logger.py similarity index 100% rename from application/lib/flask_loguru/logger.py rename to application/libs/flask_loguru/logger.py diff --git a/application/utils/loaders/consul_loader.py b/application/utils/loaders/consul_loader.py index cea5dbe651edfe036237ca455642a6821767ba19..d0ffa44ddf50a9a1329e5f713ec98dacb7947ebe 100644 --- a/application/utils/loaders/consul_loader.py +++ b/application/utils/loaders/consul_loader.py @@ -17,7 +17,7 @@ from dynaconf.base import LazySettings from dynaconf.utils.parse_conf import parse_conf_data from application.common import EnvVarHelper -from application.lib import ConsulConfig +from application.libs import ConsulConfig IDENTIFIER = "consul_loader" diff --git a/application/utils/loaders/yaml_loader.py b/application/utils/loaders/yaml_loader.py index e5d7e0a012ba74cbaabdd72c888ed12b643d4771..0ddcd23b5d1d3dfac2e6a8139de15e0de4462b4b 100644 --- a/application/utils/loaders/yaml_loader.py +++ b/application/utils/loaders/yaml_loader.py @@ -18,7 +18,7 @@ from dynaconf.base import LazySettings from dynaconf.utils.parse_conf import parse_conf_data from application.common import FileHelper -from application.lib import LocalConfig +from application.libs import LocalConfig IDENTIFIER = "yaml_loader"