diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 08:01:38 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 08:01:38 +0800 |
commit | e530544546b2a4e5f00e8d9458bf1b895573ec41 (patch) | |
tree | 9b957bd812fe98664d3f1f75615dda8242663097 /test/performance/lib.py | |
parent | f78fc42b90711c81e06699d1ebdbe69e6648b949 (diff) | |
download | gitpython-e530544546b2a4e5f00e8d9458bf1b895573ec41.tar.gz |
reformat according to 'black' configuration file.
Diffstat (limited to 'test/performance/lib.py')
-rw-r--r-- | test/performance/lib.py | 13 |
1 files changed, 3 insertions, 10 deletions
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): |