aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-10 00:13:59 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-06-10 09:15:48 -0400
commit1eaf49c8808b6cb911c862a6f421b684eaa60dfd (patch)
tree9d0174d57991efdfe1df0508b3b46b7d39b6399e /mesonbuild
parentf6e7cc070e537ab6585536727f5ea380fb998f3d (diff)
downloadmeson-1eaf49c8808b6cb911c862a6f421b684eaa60dfd.zip
meson-1eaf49c8808b6cb911c862a6f421b684eaa60dfd.tar.gz
meson-1eaf49c8808b6cb911c862a6f421b684eaa60dfd.tar.bz2
flake8: remove no longer used imports
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/backend/backends.py1
-rw-r--r--mesonbuild/mconf.py1
-rw-r--r--mesonbuild/mdist.py1
-rw-r--r--mesonbuild/modules/i18n.py1
4 files changed, 0 insertions, 4 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index ff55aad..63afceb 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -44,7 +44,6 @@ if T.TYPE_CHECKING:
from ..interpreter import Interpreter, Test
from ..linkers import StaticLinker
from ..mesonlib import FileMode, FileOrString
- from ..wrap import WrapMode
from typing_extensions import TypedDict
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index b3cae31..cd2b2e3 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -30,7 +30,6 @@ from .mesonlib import MachineChoice, OptionKey
if T.TYPE_CHECKING:
import argparse
- from .coredata import UserOption
def add_arguments(parser: 'argparse.ArgumentParser') -> None:
coredata.register_builtin_arguments(parser)
diff --git a/mesonbuild/mdist.py b/mesonbuild/mdist.py
index b65b181..3b8a67f 100644
--- a/mesonbuild/mdist.py
+++ b/mesonbuild/mdist.py
@@ -23,7 +23,6 @@ import subprocess
import tarfile
import tempfile
import hashlib
-import json
from glob import glob
from pathlib import Path
from mesonbuild.environment import detect_ninja
diff --git a/mesonbuild/modules/i18n.py b/mesonbuild/modules/i18n.py
index 5c2644e..f5eec96 100644
--- a/mesonbuild/modules/i18n.py
+++ b/mesonbuild/modules/i18n.py
@@ -32,7 +32,6 @@ if T.TYPE_CHECKING:
from ..build import Target
from ..interpreter import Interpreter
from ..interpreterbase import TYPE_var
- from ..mparser import BaseNode
from ..programs import ExternalProgram
class MergeFile(TypedDict):