minor: Add basic editorconfig and pre-commit hooks to enforce style for whitespaces (#1926)

This commit is contained in:
Xuehai Pan authored and GitHub committed 2024-11-06 13:46:04 +00:00
1 parent 96766101b4
commit a5e0defb5a
77 files changed
+209 -172

No files matched your search

@@ -134,4 +134,4 @@ def method_has_implemented_embedding(
class_embedding = inspect.getattr_static(method_class, "embedding", None)
return (class_embedding is not None
and class_embedding is not base_embedding)
and class_embedding is not base_embedding)