openlark 0.18.0

飞书开放平台 Rust SDK - 企业级高覆盖率 API 客户端,极简依赖一条命令
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import unittest
from pathlib import Path


class OpenlarkDocsMissingDocsTests(unittest.TestCase):
    def test_openlark_docs_files_do_not_suppress_missing_docs(self):
        for path in Path("crates/openlark-docs").rglob("*.rs"):
            content = path.read_text(encoding="utf-8")
            self.assertNotIn(
                "#![allow(missing_docs)]",
                content,
                msg=f"{path} should not suppress missing_docs in docs crate",
            )


if __name__ == "__main__":
    unittest.main()