diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-21 13:27:11 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-21 15:36:16 +0100 |
commit | 5bed07eba999130b6551acc7c43192d6a8eada43 (patch) | |
tree | 09e3a11503bd074363556e8a5fd33fc0e8db7fc4 /setup.py | |
parent | a1e553d3bb07c56ca99c31279f9af104bede0a32 (diff) | |
download | pylint-git-5bed07eba999130b6551acc7c43192d6a8eada43.tar.gz |
Move from % string formatting syntax to f-string or .format()
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,7 +94,7 @@ def get_packages(directory, prefix): if isdir(absfile): if exists(join(absfile, "__init__.py")): if prefix: - result.append("%s.%s" % (prefix, package)) + result.append(f"{prefix}.{package}") else: result.append(package) result += get_packages(absfile, result[-1]) @@ -159,7 +159,7 @@ def install(**kwargs): setup_requires=pytest_runner, tests_require=["pytest", "pytest-benchmark"], project_urls=project_urls, - **kwargs + **kwargs, ) |