def METHOD_NAME(paths: List[str]):
    for path in paths:
        # when changing any of these commands,
        # make sure to change the corresponding github action
        _run_docker_cmd(['isort', path])
        _run_add_trailing_comma(path)
        # This should be consistent with .github/workflows/python-workflow.yml
        autopep8_checks = 'W191,W291,W292,W293,W391,E131,E1,E2,E3'
        _run_docker_cmd(['autopep8', '--select', autopep8_checks, '-r', '--in-place', path])