diff --git a/readme_generator/make_readme.py b/readme_generator/make_readme.py index e5c830a..06e3ca7 100755 --- a/readme_generator/make_readme.py +++ b/readme_generator/make_readme.py @@ -89,7 +89,9 @@ def generate_READMEs(app_path: Path): ) fully_translated_langs.sort() - print(f"Available languages for translation: {', '.join(fully_translated_langs) if fully_translated_langs else []}") + print( + f"Available languages for translation: {', '.join(fully_translated_langs) if fully_translated_langs else []}" + ) screenshots: List[str] = [] diff --git a/readme_generator/tests/test_make_readme.py b/readme_generator/tests/test_make_readme.py index 46366ec..893204b 100755 --- a/readme_generator/tests/test_make_readme.py +++ b/readme_generator/tests/test_make_readme.py @@ -17,15 +17,23 @@ def test_running_make_readme(): tempdir = Path(tempdir) temporary_tested_app_directory = tempdir / TEST_APP_NAME - subprocess.check_call(["git", "clone", "-q", TEST_APP_REPO, temporary_tested_app_directory]) subprocess.check_call( - ["git", "checkout", "-q", TEST_APP_COMMIT_ID], cwd=temporary_tested_app_directory + ["git", "clone", "-q", TEST_APP_REPO, temporary_tested_app_directory] + ) + subprocess.check_call( + ["git", "checkout", "-q", TEST_APP_COMMIT_ID], + cwd=temporary_tested_app_directory, ) # Now run test... - subprocess.check_call([TEST_DIRECTORY.parent / "make_readme.py", temporary_tested_app_directory]) + subprocess.check_call( + [TEST_DIRECTORY.parent / "make_readme.py", temporary_tested_app_directory] + ) - assert open(TEST_DIRECTORY / "README.md").read() == open(temporary_tested_app_directory / "README.md").read() + assert ( + open(TEST_DIRECTORY / "README.md").read() + == open(temporary_tested_app_directory / "README.md").read() + ) if __name__ == "__main__":