coredata: Add a type for the options dict
This is used in a lot of places, having a single way to reference it is convenient. It's placed under a typing.TYPE_CHECKING guard to mimimize runtime impact
This commit is contained in:
parent
3b2126531a
commit
019f73dd7c
|
@ -35,6 +35,8 @@ import enum
|
|||
if typing.TYPE_CHECKING:
|
||||
from . import dependencies
|
||||
|
||||
OptionDictType = typing.Dict[str, 'UserOption[Any]']
|
||||
|
||||
version = '0.51.999'
|
||||
backendlist = ['ninja', 'vs', 'vs2010', 'vs2015', 'vs2017', 'vs2019', 'xcode']
|
||||
|
||||
|
|
Loading…
Reference in New Issue