Skip to content

Commit

Permalink
Merge pull request #78 from inab/fixes
Browse files Browse the repository at this point in the history
Cosmetic styling fixes suggested by black
  • Loading branch information
jmfernandez authored Mar 19, 2024
2 parents 5ed3c01 + 373cb66 commit a8ae887
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wfexs_backend/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,11 +882,15 @@ def processExportCommand(

return retval


def get_wfexs_argparse() -> "argparse.ArgumentParser":
retval, _ = _get_wfexs_argparse_internal(docgen=True)
return retval

def _get_wfexs_argparse_internal(docgen: "bool") -> "Tuple[argparse.ArgumentParser, str]":

def _get_wfexs_argparse_internal(
docgen: "bool",
) -> "Tuple[argparse.ArgumentParser, str]":
verstr = get_WfExS_version_str()

defaultLocalConfigFilename = os.environ.get("WFEXS_CONFIG_FILE")
Expand Down Expand Up @@ -1082,6 +1086,7 @@ def _get_wfexs_argparse_internal(docgen: "bool") -> "Tuple[argparse.ArgumentPars

return ap, defaultLocalConfigFilename


def main() -> None:
ap, defaultLocalConfigFilename = _get_wfexs_argparse_internal(docgen=False)

Expand Down

0 comments on commit a8ae887

Please sign in to comment.