flake8: fix missing import

This sort of worked, because it was a typing-only import and this file
isn't actually tested by mypy yet.
pull/10757/head
Eli Schwartz 2 years ago committed by Jussi Pakkanen
parent 4f05f877fc
commit af28826c24
  1. 1
      mesonbuild/build.py

@ -55,6 +55,7 @@ if T.TYPE_CHECKING:
from .mesonlib import FileMode, FileOrString from .mesonlib import FileMode, FileOrString
from .modules import ModuleState from .modules import ModuleState
from .mparser import BaseNode from .mparser import BaseNode
from .wrap import WrapMode
GeneratedTypes = T.Union['CustomTarget', 'CustomTargetIndex', 'GeneratedList'] GeneratedTypes = T.Union['CustomTarget', 'CustomTargetIndex', 'GeneratedList']
LibTypes = T.Union['SharedLibrary', 'StaticLibrary', 'CustomTarget', 'CustomTargetIndex'] LibTypes = T.Union['SharedLibrary', 'StaticLibrary', 'CustomTarget', 'CustomTargetIndex']

Loading…
Cancel
Save