Skip to content
Snippets Groups Projects
Commit e5a041e1 authored by Alexander Kreft's avatar Alexander Kreft
Browse files

STY: blank line

parent bd8c9859
No related branches found
No related tags found
2 merge requests!33MAINT: change arguments of create_user,!21ENH: add json schema validation for config files
Pipeline #14463 passed with warnings
...@@ -83,6 +83,7 @@ def validate_yaml_schema(valobj): ...@@ -83,6 +83,7 @@ def validate_yaml_schema(valobj):
schema = yaml.load(f, Loader=yaml.SafeLoader) schema = yaml.load(f, Loader=yaml.SafeLoader)
validate(instance=valobj, schema=schema["schema-pycaosdb-ini"]) validate(instance=valobj, schema=schema["schema-pycaosdb-ini"])
def _read_config_files(): def _read_config_files():
"""Function to read config files from different paths. Checks for path in $PYCAOSDBINI or home directory (.pycaosdb.ini) and in the current working directory (pycaosdb.ini). """Function to read config files from different paths. Checks for path in $PYCAOSDBINI or home directory (.pycaosdb.ini) and in the current working directory (pycaosdb.ini).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment