()
return {"actions": [formatter], "verbosity": 2}
Runs the black code formatter, changing files inplace
Runs the black code formatter, changing files inplace
Runs the black code formatter changing files inplace
def task_format() -> DoitReturn:
    """ Runs the black code formatter, changing files inplace """
    config = make_config_path("pyproject.toml")
    formatter = f"black --config {config} {PROJECT} tests *.py"
    return {"actions": [formatter], "verbosity": 2}
def task_format ( ) -> DoitReturn : config = make_config_path ( "pyproject.toml" ) formatter = f"black --config {config} {PROJECT} tests *.py" return { "actions" : [ formatter ] , "verbosity" : 2 }