summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg2
-rw-r--r--src/buildstream/_utils.pyi1
2 files changed, 2 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 6d35c9de5..a6b546042 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,buildstream._utils]
+[mypy-buildstream.node,buildstream._types]
ignore_missing_imports=True
# Ignore issues with generated files and vendored code
diff --git a/src/buildstream/_utils.pyi b/src/buildstream/_utils.pyi
new file mode 100644
index 000000000..458437281
--- /dev/null
+++ b/src/buildstream/_utils.pyi
@@ -0,0 +1 @@
+def url_directory_name(url: str) -> str: ...