diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-10 20:51:45 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-11 13:37:17 -0400 |
commit | a01418db0a37908cc2504adbb0cf56d333348f9a (patch) | |
tree | 6463a2f91154092fd7f1aeeb72f744258daa6ff8 /mesonbuild/cmake/traceparser.py | |
parent | 03a2a3a6773785e087b296e9e6ff6791c6068f60 (diff) | |
download | meson-a01418db0a37908cc2504adbb0cf56d333348f9a.zip meson-a01418db0a37908cc2504adbb0cf56d333348f9a.tar.gz meson-a01418db0a37908cc2504adbb0cf56d333348f9a.tar.bz2 |
remove useless type annotations
These annotations all had a default initializer of the correct type, or
a parent class annotation.
Diffstat (limited to 'mesonbuild/cmake/traceparser.py')
-rw-r--r-- | mesonbuild/cmake/traceparser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/cmake/traceparser.py b/mesonbuild/cmake/traceparser.py index 7f31f13..92ff780 100644 --- a/mesonbuild/cmake/traceparser.py +++ b/mesonbuild/cmake/traceparser.py @@ -107,8 +107,8 @@ class CMakeTraceParser: self.custom_targets = [] # type: T.List[CMakeGeneratorTarget] self.env = env - self.permissive = permissive # type: bool - self.cmake_version = cmake_version # type: str + self.permissive = permissive + self.cmake_version = cmake_version self.trace_file = 'cmake_trace.txt' self.trace_file_path = build_dir / self.trace_file self.trace_format = 'json-v1' if version_compare(cmake_version, '>=3.17') else 'human' @@ -785,7 +785,7 @@ class CMakeTraceParser: fixed_list = [] # type: T.List[str] curr_str = None # type: T.Optional[str] - path_found = False # type: bool + path_found = False for i in broken_list: if curr_str is None: |