summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg2
-rw-r--r--src/buildstream/_types.pyi1
2 files changed, 2 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index a6b546042..55c25ce7b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -33,7 +33,7 @@ ignore_missing_imports=True
# Ignore missing stubs for Cythonized modules.
# In future, these should be re-enabled by writing stubs for them.
-[mypy-buildstream.node,buildstream._types]
+[mypy-buildstream.node]
ignore_missing_imports=True
# Ignore issues with generated files and vendored code
diff --git a/src/buildstream/_types.pyi b/src/buildstream/_types.pyi
new file mode 100644
index 000000000..d1986fc4a
--- /dev/null
+++ b/src/buildstream/_types.pyi
@@ -0,0 +1 @@
+class MetaFastEnum(type): ...