From a16bae72c89c8ebebdb66d91f22bc2673b919070 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 16 Mar 2021 11:07:11 -0400 Subject: style: run pre-commit --- testing/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testing/conftest.py') diff --git a/testing/conftest.py b/testing/conftest.py index f533e50..49cb1e0 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -15,16 +15,16 @@ def pytest_report_header(): for pkg in VERSION_PKGS: version = pkg_resources.get_distribution(pkg).version path = __import__(pkg).__file__ - res.append("{} version {} from {!r}".format(pkg, version, path)) + res.append(f"{pkg} version {version} from {path!r}") return res -class Wd(object): +class Wd: commit_command = None add_command = None def __repr__(self): - return "".format(cwd=self.cwd) + return f"" def __init__(self, cwd): self.cwd = cwd -- cgit v1.2.1