diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-09-14 23:11:49 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-04 16:29:31 -0400 |
commit | f2eb1534ddcacd990ab6807376a92e2400681536 (patch) | |
tree | 35b2d43a86bedb004106b4f63736fba15e513d94 /mesonbuild/interpreter/interpreter.py | |
parent | 520996fff18a4d1545090f46549f9c15cec3bffa (diff) | |
download | meson-f2eb1534ddcacd990ab6807376a92e2400681536.zip meson-f2eb1534ddcacd990ab6807376a92e2400681536.tar.gz meson-f2eb1534ddcacd990ab6807376a92e2400681536.tar.bz2 |
work around flake8 F811 for T.overload redefined functions
Since typing != T as far as flake8 is aware, give the linter an extra
hint.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index bef3f67..8773269 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -2517,9 +2517,9 @@ Try setting b_lundef to false instead.'''.format(self.coredata.options[OptionKey def source_strings_to_files(self, sources: T.List['mesonlib.FileOrString']) -> T.List['mesonlib.File']: ... @T.overload - def source_strings_to_files(self, sources: T.List['SourceInputs']) -> T.List['SourceOutputs']: ... + def source_strings_to_files(self, sources: T.List['SourceInputs']) -> T.List['SourceOutputs']: ... # noqa: F811 - def source_strings_to_files(self, sources: T.List['SourceInputs']) -> T.List['SourceOutputs']: + def source_strings_to_files(self, sources: T.List['SourceInputs']) -> T.List['SourceOutputs']: # noqa: F811 """Lower inputs to a list of Targets and Files, replacing any strings. :param sources: A raw (Meson DSL) list of inputs (targets, files, and |