aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-12 11:49:37 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-06-13 13:34:39 +0300
commit85f3fc2022265d69105468468787825f93580d29 (patch)
treea2fa0f86c0dc1ae8c04a45bdac2a51ace4cf8bc5 /mesonbuild/build.py
parent3f42c844de6d556391ecf092a960881428b724b7 (diff)
downloadmeson-85f3fc2022265d69105468468787825f93580d29.zip
meson-85f3fc2022265d69105468468787825f93580d29.tar.gz
meson-85f3fc2022265d69105468468787825f93580d29.tar.bz2
flake8: don't use f-strings for strings without formatting
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 9513d18..ceff296 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -2689,7 +2689,7 @@ class Jar(BuildTarget):
if not isinstance(t, Jar):
raise InvalidArguments(f'Link target {t} is not a jar target.')
if self.structured_sources:
- raise InvalidArguments(f'structured sources are not supported in Java targets.')
+ raise InvalidArguments('structured sources are not supported in Java targets.')
self.filename = self.name + '.jar'
self.outputs = [self.filename]
self.java_args = kwargs.get('java_args', [])