Skip to content

Commit

Permalink
Some coding style enhanements
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Apr 27, 2018
1 parent 9b7e19c commit 4d772be
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pymlconf/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
IGNORE = 0
ERROR = 1
WARNING = 2
missing_file_behaviors = [IGNORE,
ERROR,
WARNING]
missing_file_behaviors = [
IGNORE,
ERROR,
WARNING
]


class ConfigManager(ConfigDict):
Expand All @@ -36,9 +38,10 @@ class ConfigManager(ConfigDict):

default_extension = ".conf"

def __init__(self, init_value=None, dirs=None, files=None, filename_as_namespace=True,
extension='.conf', root_file_name='root', missing_file_behavior=WARNING, encoding='utf-8',
context=None, builtin=None):
def __init__(self, init_value=None, dirs=None, files=None,
filename_as_namespace=True, extension='.conf',
root_file_name='root', missing_file_behavior=WARNING,
encoding='utf-8', context=None, builtin=None):
"""
:param init_value: Initial configuration value that you can pass it before reading the files and directories.can
be 'yaml string' or python dictionary.
Expand Down

0 comments on commit 4d772be

Please sign in to comment.