aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2023-08-14 17:51:51 -0500
committerEli Schwartz <eschwartz93@gmail.com>2023-10-04 15:23:00 -0400
commit1991ad87061d068413cb6a593f3f29c9426df2b9 (patch)
treef84cc2915a28508b886f5b1408d9449efed31a30 /tools
parent88b337b77c264d3f39744b3b3bea8a29778a73c4 (diff)
downloadmeson-1991ad87061d068413cb6a593f3f29c9426df2b9.zip
meson-1991ad87061d068413cb6a593f3f29c9426df2b9.tar.gz
meson-1991ad87061d068413cb6a593f3f29c9426df2b9.tar.bz2
Remove type comments in run_project_tests.py
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cmake2meson.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py
index a12d9cf..7889cd8 100755
--- a/tools/cmake2meson.py
+++ b/tools/cmake2meson.py
@@ -119,7 +119,7 @@ class Parser:
return Statement(cur.value, args)
def arguments(self) -> T.List[T.Union[Token, T.Any]]:
- args = [] # type: T.List[T.Union[Token, T.Any]]
+ args: T.List[T.Union[Token, T.Any]] = []
if self.accept('lparen'):
args.append(self.arguments())
self.expect('rparen')
@@ -159,7 +159,7 @@ class Converter:
self.cmake_root = Path(cmake_root).expanduser()
self.indent_unit = ' '
self.indent_level = 0
- self.options = [] # type: T.List[tuple]
+ self.options: T.List[T.Tuple[str, str, T.Optional[str]]] = []
def convert_args(self, args: T.List[Token], as_array: bool = True) -> str:
res = []