@@ -234,7 +234,7 @@ def test__build_metadata(self, mocker):
234234 project ._build_metadata ()
235235
236236 project .env .get_template .assert_has_calls (
237- [mocker .call ("pyproject.toml" ), mocker .call ("README.md" ), mocker .call (".gitignore" ), ]
237+ [mocker .call ("pyproject.toml" ), mocker .call ("README.md" ), mocker .call (".gitignore" )]
238238 )
239239
240240 pyproject_template .render .assert_called_once_with (
@@ -388,7 +388,7 @@ def test__build_api(self, mocker):
388388 errors_template .render .assert_called_once ()
389389 api_errors .write_text .assert_called_once_with (errors_template .render ())
390390 endpoint_template .render .assert_has_calls (
391- [mocker .call (collection = collection_1 ), mocker .call (collection = collection_2 ), ]
391+ [mocker .call (collection = collection_1 ), mocker .call (collection = collection_2 )]
392392 )
393393 collection_1_path .write_text .assert_called_once_with (endpoint_renders [collection_1 ])
394394 collection_2_path .write_text .assert_called_once_with (endpoint_renders [collection_2 ])
@@ -404,7 +404,9 @@ def test__reformat(mocker):
404404
405405 project ._reformat ()
406406
407- sub_run .assert_has_calls ([
408- mocker .call ("isort --recursive --apply" , cwd = project .project_dir , shell = True ),
409- mocker .call ("black ." , cwd = project .project_dir , shell = True ),
410- ])
407+ sub_run .assert_has_calls (
408+ [
409+ mocker .call ("isort --recursive --apply" , cwd = project .project_dir , shell = True ),
410+ mocker .call ("black ." , cwd = project .project_dir , shell = True ),
411+ ]
412+ )
0 commit comments