Module Expr Str Import alias Import alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Dict Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Return Num orelse If CompareEq NameLoad Str body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str orelse Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad decorator_list
N/A N/A project-specific settings N/A yaml N/A os.path mod log util config load N/A N/A proj_dir N/A N/A N/A load the .fips-settings.yml file from project directory

    :param proj_dir:    absolute project directory
    :returns:           dictionary object
     N/A settings None N/A path N/A proj_dir /.fips-settings.yml N/A N/A N/A N/A os path isfile path N/A N/A N/A open path r f N/A N/A settings N/A N/A yaml load f N/A N/A settings N/A N/A settings N/A N/A settings N/A save N/A N/A proj_dir settings N/A N/A N/A save settings back to .fips-settings.yml file in project directory

    :param proj_dir:    absolute project directory
    :param settings:    settings dictionary object
     N/A path N/A proj_dir /.fips-settings.yml N/A N/A open path w f N/A N/A N/A N/A yaml dump settings f N/A get_default N/A N/A key N/A N/A N/A get the default value for a settings key

    :param key:     settings key
    :returns:       default value, or None if key is invalid
     N/A N/A key config N/A N/A N/A N/A config get_default_config N/A N/A N/A key target N/A N/A None N/A N/A N/A key jobs N/A N/A 3 N/A N/A N/A key ccache N/A N/A False N/A N/A None N/A get N/A N/A proj_dir key N/A N/A N/A return settings value by key, default value if the value
    doesn't exist in the project-local settings file

    :param proj_dir:    absolute project directory
    :param key:         settings key
    :returns:           settings value, default value for key, or None
     N/A N/A N/A util ensure_valid_project_dir proj_dir N/A value None N/A settings N/A load proj_dir N/A N/A key settings N/A N/A value N/A settings N/A key N/A N/A value None N/A N/A value N/A get_default key N/A value N/A set N/A N/A proj_dir key value N/A N/A N/A update a settings value by key and save project-local
    .fips-settings file

    :param proj_dir:    absolute project directory
    :param key:         settings key
    :param value:       new value associated with key
     N/A N/A N/A util ensure_valid_project_dir proj_dir N/A settings N/A load proj_dir N/A N/A settings N/A key value N/A N/A save proj_dir settings N/A proj_name N/A N/A util get_project_name_from_dir proj_dir N/A N/A N/A type value bool N/A N/A value_str N/A value on off N/A N/A value_str N/A str value N/A N/A N/A log info N/A N/A '{}' set to '{}' in project '{}' format key value_str proj_name N/A unset N/A N/A proj_dir key N/A N/A N/A delete a settings value from the project-local settings file

    :param proj_dir:    absolute project directory
    :param key:         settings key
     N/A N/A N/A util ensure_valid_project_dir proj_dir N/A settings N/A load proj_dir N/A N/A key settings N/A N/A N/A settings N/A key N/A N/A save proj_dir settings N/A proj_name N/A N/A util get_project_name_from_dir proj_dir N/A N/A N/A log info N/A N/A '{}' unset in project '{}' format key proj_name N/A