summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-12-21 13:31:36 +0000
committerGitHub <noreply@github.com>2023-12-21 13:31:36 +0000
commit8a50312099d8014a10ce36acf2f64d21c98bd4e6 (patch)
treeb379c878fb9311e897f5d3e66b6a39af9c01bc62
parentFix sample config doc CI (#16758) (diff)
downloadsynapse-8a50312099d8014a10ce36acf2f64d21c98bd4e6.tar.xz
Move the rust stubs inline for better IDE integration (#16757)
At least for vscode this allows click through / type checking / syntax
highlighting.
-rw-r--r--changelog.d/16757.misc1
-rw-r--r--stubs/synapse/__init__.pyi0
-rw-r--r--synapse/synapse_rust/__init__.pyi (renamed from stubs/synapse/synapse_rust/__init__.pyi)0
-rw-r--r--synapse/synapse_rust/acl.pyi (renamed from stubs/synapse/synapse_rust/acl.pyi)0
-rw-r--r--synapse/synapse_rust/push.pyi (renamed from stubs/synapse/synapse_rust/push.pyi)0
5 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/16757.misc b/changelog.d/16757.misc
new file mode 100644
index 0000000000..9856bf1aa6
--- /dev/null
+++ b/changelog.d/16757.misc
@@ -0,0 +1 @@
+Move the rust stubs inline for better IDE integration.
diff --git a/stubs/synapse/__init__.pyi b/stubs/synapse/__init__.pyi
deleted file mode 100644
index e69de29bb2..0000000000
--- a/stubs/synapse/__init__.pyi
+++ /dev/null
diff --git a/stubs/synapse/synapse_rust/__init__.pyi b/synapse/synapse_rust/__init__.pyi
index d25c609106..d25c609106 100644
--- a/stubs/synapse/synapse_rust/__init__.pyi
+++ b/synapse/synapse_rust/__init__.pyi
diff --git a/stubs/synapse/synapse_rust/acl.pyi b/synapse/synapse_rust/acl.pyi
index e03989b627..e03989b627 100644
--- a/stubs/synapse/synapse_rust/acl.pyi
+++ b/synapse/synapse_rust/acl.pyi
diff --git a/stubs/synapse/synapse_rust/push.pyi b/synapse/synapse_rust/push.pyi
index 25259ce91d..25259ce91d 100644
--- a/stubs/synapse/synapse_rust/push.pyi
+++ b/synapse/synapse_rust/push.pyi