diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-12-05 14:17:44 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-10 18:36:56 -0500 |
commit | 6f8008cd7df4e3fa662cb7f63323f18d100ed88f (patch) | |
tree | d2f1b5dc74af3d43293e45c7faf197a8b9a2cd88 /mesonbuild/backend | |
parent | e77582b251080a1170582e2591f3c36738806ff1 (diff) | |
download | meson-6f8008cd7df4e3fa662cb7f63323f18d100ed88f.zip meson-6f8008cd7df4e3fa662cb7f63323f18d100ed88f.tar.gz meson-6f8008cd7df4e3fa662cb7f63323f18d100ed88f.tar.bz2 |
clean up even more function signatures in preparation for dataclasses
Names used in init functions are sometimes pointlessly different from
the class instance attributes they are immediately assigned to. They
would make more sense if defined properly.
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r-- | mesonbuild/backend/backends.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 8e62d38..89febcb 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -217,7 +217,7 @@ class ExecutableSerialisation: self.tag = tag class TestSerialisation: - def __init__(self, name: str, project: str, suite: T.List[str], fname: T.List[str], + def __init__(self, name: str, project_name: str, suite: T.List[str], fname: T.List[str], is_cross_built: bool, exe_wrapper: T.Optional[programs.ExternalProgram], needs_exe_wrapper: bool, is_parallel: bool, cmd_args: T.List[str], env: build.EnvironmentVariables, should_fail: bool, @@ -225,7 +225,7 @@ class TestSerialisation: extra_paths: T.List[str], protocol: TestProtocol, priority: int, cmd_is_built: bool, depends: T.List[str], version: str): self.name = name - self.project_name = project + self.project_name = project_name self.suite = suite self.fname = fname self.is_cross_built = is_cross_built |