aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-02-25 02:45:20 -0500
committerDylan Baker <dylan@pnwbakers.com>2019-05-02 10:58:23 -0700
commit4c2617a9c6fd02e3f8831b7de8755380ac4bcb16 (patch)
tree0214fa8f65cd2b9ef66c88c588401907e868ed9f /mesonbuild/mintro.py
parenta15a8b7e246be448e79ba20742e713e39807bd00 (diff)
downloadmeson-4c2617a9c6fd02e3f8831b7de8755380ac4bcb16.zip
meson-4c2617a9c6fd02e3f8831b7de8755380ac4bcb16.tar.gz
meson-4c2617a9c6fd02e3f8831b7de8755380ac4bcb16.tar.bz2
Add some type annotations and fix lints
Some things, like `method[...](...)` or `x: ... = ...` python 3.5 doesn't support, so I made a comment instead with the intention that it can someday be made into a real annotation.
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index a4a6978..c47fffd 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -27,7 +27,7 @@ from . import mlog
from .backend import backends
from .mparser import FunctionNode, ArrayNode, ArgumentNode, StringNode
from typing import List, Optional
-import sys, os
+import os
import pathlib
def get_meson_info_file(info_dir: str):