From e530544546b2a4e5f00e8d9458bf1b895573ec41 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 18 May 2022 08:01:38 +0800 Subject: reformat according to 'black' configuration file. --- test/performance/lib.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'test/performance/lib.py') diff --git a/test/performance/lib.py b/test/performance/lib.py index 101e2cd4..c793d771 100644 --- a/test/performance/lib.py +++ b/test/performance/lib.py @@ -45,17 +45,12 @@ class TestBigRepoR(TestBase): repo_path = os.environ.get(k_env_git_repo) if repo_path is None: logging.info( - ( - "You can set the %s environment variable to a .git repository of" - % k_env_git_repo - ) + ("You can set the %s environment variable to a .git repository of" % k_env_git_repo) + "your choice - defaulting to the gitpython repository" ) repo_path = osp.dirname(__file__) # end set some repo path - self.gitrorepo = Repo( - repo_path, odbt=GitCmdObjectDB, search_parent_directories=True - ) + self.gitrorepo = Repo(repo_path, odbt=GitCmdObjectDB, search_parent_directories=True) self.puregitrorepo = Repo(repo_path, odbt=GitDB, search_parent_directories=True) def tearDown(self): @@ -79,9 +74,7 @@ class TestBigRepoRW(TestBigRepoR): pass dirname = tempfile.mktemp() os.mkdir(dirname) - self.gitrwrepo = self.gitrorepo.clone( - dirname, shared=True, bare=True, odbt=GitCmdObjectDB - ) + self.gitrwrepo = self.gitrorepo.clone(dirname, shared=True, bare=True, odbt=GitCmdObjectDB) self.puregitrwrepo = Repo(dirname, odbt=GitDB) def tearDown(self): -- cgit v1.2.1