diff options
author | Henry Schreiner <henryschreineriii@gmail.com> | 2021-03-16 11:07:11 -0400 |
---|---|---|
committer | Henry Schreiner <henryschreineriii@gmail.com> | 2021-03-16 11:07:11 -0400 |
commit | a16bae72c89c8ebebdb66d91f22bc2673b919070 (patch) | |
tree | 7f668b62ef11dba2e3764dc893b7f17d91466683 /testing/conftest.py | |
parent | f8e3c0f5bc9520dbc3135daab43c5a044ad6dad9 (diff) | |
download | setuptools-scm-a16bae72c89c8ebebdb66d91f22bc2673b919070.tar.gz |
style: run pre-commit
Diffstat (limited to 'testing/conftest.py')
-rw-r--r-- | testing/conftest.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 "<WD {cwd}>".format(cwd=self.cwd) + return f"<WD {self.cwd}>" def __init__(self, cwd): self.cwd = cwd |