[{"data":1,"prerenderedAt":241},["ShallowReactive",2],{"repo-microsoft-pyright-zh-CN":3,"i18n-microsoft-pyright-zh-CN":238},{"mirrorPool":4,"detail":13,"relatedProjects":131},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":25,"homepage":26,"pushedAt":27,"ownerAvatar":28,"ownerName":29,"ownerBio":30,"lastSyncTime":31,"lastReleaseTime":32,"tags":33,"license":34,"category":35,"subgroup":36,"releases":37},"microsoft","pyright",175129788,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright",15689,"Python","Static Type Checker for Python",{"Python":22,"TypeScript":23,"JavaScript":24},62.1,37.7,0.2,[],"","2026-10-19","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","Microsoft","Open source projects and samples from Microsoft","2026-10-20T10:24:52.656250+00:00","2026-09-09T20:40:05Z",[],"NOASSERTION","development","代码质量工具",[38,57,68,78,88,99,110,121],{"tag":39,"publishAt":32,"semVer":40,"prerelease":43,"assets":44},"1.1.414",[41,41,42],1,414,false,[45,51],{"fileName":46,"sizeMb":47,"sha256":48,"downloadCount":49,"originUrl":50},"pyright-typeserver.tgz",3.95,"3d95853dd627929baac3b16525c260d6d23204edb56573503e93452987031a61",93,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.414\u002Fpyright-typeserver.tgz",{"fileName":52,"sizeMb":53,"sha256":54,"downloadCount":55,"originUrl":56},"pyright.tgz",4.03,"bf5f473f6167c0d14175492c3263d783b4489a6956e1c06c18e15228e3a3fa42",1014,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.414\u002Fpyright.tgz",{"tag":58,"publishAt":59,"semVer":60,"prerelease":43,"assets":62},"1.1.413","2026-09-09T17:46:15Z",[41,41,61],413,[63],{"fileName":52,"sizeMb":64,"sha256":65,"downloadCount":66,"originUrl":67},3.96,"7322a75188e788f9fe7cbb71891af435a713bf8985141dc0d28e8ca243977bee",7,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.413\u002Fpyright.tgz",{"tag":69,"publishAt":70,"semVer":71,"prerelease":43,"assets":73},"1.1.412","2026-08-12T22:59:44Z",[41,41,72],412,[74],{"fileName":52,"sizeMb":64,"sha256":75,"downloadCount":76,"originUrl":77},"b6345cb7253d1f3e311caa0ef17581dbac5b125c42d148667c84d9dca2abd50a",1679,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.412\u002Fpyright.tgz",{"tag":79,"publishAt":80,"semVer":81,"prerelease":43,"assets":83},"1.1.411","2026-06-25T00:06:53Z",[41,41,82],411,[84],{"fileName":52,"sizeMb":47,"sha256":85,"downloadCount":86,"originUrl":87},"bd5c488fc20fa237a944279bf32cae2f986cf10d5d5d9e8705819859daeb2f4a",762,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.411\u002Fpyright.tgz",{"tag":89,"publishAt":90,"semVer":91,"prerelease":43,"assets":93},"1.1.410","2026-05-23T00:23:32Z",[41,41,92],410,[94],{"fileName":52,"sizeMb":95,"sha256":96,"downloadCount":97,"originUrl":98},3.9,"4d6b7a25f9617ea8ff7b2e98cd87c146d132a95cbfb29bf58bd638018a76ac48",183,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.410\u002Fpyright.tgz",{"tag":100,"publishAt":101,"semVer":102,"prerelease":43,"assets":104},"1.1.409","2026-04-16T00:09:46Z",[41,41,103],409,[105],{"fileName":52,"sizeMb":106,"sha256":107,"downloadCount":108,"originUrl":109},4.25,"129c8ad8ffbbd0074e88cdb8438e53861a5063cbe26245fac6814bbbc0e2ee29",330,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.409\u002Fpyright.tgz",{"tag":111,"publishAt":112,"semVer":113,"prerelease":43,"assets":115},"1.1.408","2026-01-08T01:30:41Z",[41,41,114],408,[116],{"fileName":52,"sizeMb":117,"sha256":118,"downloadCount":119,"originUrl":120},4.22,"16f73d4281d00ddbd549d5dbe574d0f2cf0aec34f276f91bd6ae63fe1001473e",470,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.408\u002Fpyright.tgz",{"tag":122,"publishAt":123,"semVer":124,"prerelease":43,"assets":126},"1.1.407","2025-10-24T22:36:50Z",[41,41,125],407,[127],{"fileName":52,"sizeMb":47,"sha256":128,"downloadCount":129,"originUrl":130},"24f3e5481fe638415622774c0ba0fc949dc560e2baab0d604c6d67f10bb3c0a4",171,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Freleases\u002Fdownload\u002F1.1.407\u002Fpyright.tgz",[132,159,176,191,208,224],{"owner":133,"repo":134,"repoId":135,"category":35,"subgroup":36,"language":136,"tags":137,"starCount":148,"ownerUid":149,"latestTag":150,"platforms":151,"lastReleaseTime":156,"downloadCount":157,"description":158},"astral-sh","ruff",523043277,"Rust",[138,139,140,141,134,142,143,144,145,146,147],"linter","pep8","python","python3","rust","rustpython","static-analysis","static-code-analysis","style-guide","styleguide",50317,115962839,"0.17.3",[152,153,154,155],"windows","mac","linux","other","2026-10-27T00:35:07Z",19882,"Ruff 是用 Rust 编写的极快 Python 代码检查与格式化工具，一个工具即可替代 Flake8、isort、Black 等多个工具，适合大型项目与持续集成场景。",{"owner":160,"repo":161,"repoId":162,"category":35,"subgroup":36,"language":163,"tags":164,"starCount":169,"ownerUid":170,"latestTag":171,"platforms":172,"lastReleaseTime":173,"downloadCount":174,"description":175},"koalaman","shellcheck",6731432,"Haskell",[165,166,167,138,168,144],"bash","developer-tools","haskell","shell",40127,2818758,"v0.11.0",[153,154,155],"2025-08-04T00:27:19Z",13712912,"一款GPLv3许可的Shell脚本静态分析工具，为bash\u002Fsh脚本提供警告和建议，帮助发现语法问题、语义错误和潜在的陷阱。",{"owner":177,"repo":178,"repoId":179,"category":35,"subgroup":36,"language":180,"tags":181,"starCount":184,"ownerUid":185,"latestTag":186,"platforms":187,"lastReleaseTime":188,"downloadCount":189,"description":190},"AlDanial","cloc",42029482,"Perl",[178,182,183],"count-lines","programming-language",23574,1459933,"v2.10",[152],"2026-07-04T19:26:14Z",18787,"统计多种编程语言源代码中的空行、注释行和物理行数。",{"owner":192,"repo":193,"repoId":194,"category":35,"subgroup":36,"language":195,"tags":196,"starCount":201,"ownerUid":202,"latestTag":203,"platforms":204,"lastReleaseTime":205,"downloadCount":206,"description":207},"realm","SwiftLint",35732214,"Swift",[197,198,138,199,144,200],"code-quality","hacktoberfest","linting","swift",19748,7575099,"0.65.1",[152,153,154,155],"2026-08-21T20:29:47Z",519979,"强制执行 Swift 风格和约定的工具，基于 SwiftSyntax。",{"owner":209,"repo":210,"repoId":211,"category":35,"subgroup":36,"language":212,"tags":213,"starCount":217,"ownerUid":218,"latestTag":219,"platforms":220,"lastReleaseTime":221,"downloadCount":222,"description":223},"golangci","golangci-lint",132145189,"Go",[214,215,216,210,138],"ci","go","golang",19443,35628013,"v2.15.0",[152,153,154,155],"2026-10-16T11:33:37Z",780,"一个快速的 Go 语言代码检查工具运行器，支持并行执行、缓存、YAML 配置和主流 IDE 集成，包含超过一百种检查器。",{"owner":225,"repo":225,"repoId":226,"category":35,"subgroup":36,"language":163,"tags":227,"starCount":231,"ownerUid":232,"latestTag":233,"platforms":234,"lastReleaseTime":235,"downloadCount":236,"description":237},"hadolint",46234189,[228,229,230,167,138,161,144],"docker","dockerfile","dockerfile-linter",12451,34047791,"v2.15.1",[152],"2026-07-31T10:13:06Z",19050,"一个智能的Dockerfile Linter，通过将Dockerfile解析为AST并执行最佳实践规则，帮助构建更优质的Docker镜像，同时集成ShellCheck对RUN指令中的Bash代码进行静态检查。",{"description":239,"readmeHtml":240},"Pyright 是微软推出的 Python 静态类型检查器，功能完整、面向高性能与大型代码库设计，提供命令行工具与 VS Code 扩展。","\u003Ch2 id=\"项目概述\">项目概述\u003C\u002Fh2>\u003Cp>Pyright 是微软开发的 Python 全功能静态类型检查器，基于类型标注标准设计，为高性能与大型源码库而生。它同时提供命令行工具与 VS Code 扩展两种使用方式，也是 Pylance 语言服务的核心。官方维护每周更新的类型检查基准测试，方便与其他工具对比性能。\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>项目\u003C\u002Fth>\n\u003Cth>内容\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>开发方\u003C\u002Ftd>\n\u003Ctd>Microsoft\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>使用方式\u003C\u002Ftd>\n\u003Ctd>命令行、VS Code 扩展\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>定位\u003C\u002Ftd>\n\u003Ctd>静态类型检查器\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>特色\u003C\u002Ftd>\n\u003Ctd>大型代码库高性能检查\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cblockquote>\n\u003Cp>为大型 Python 代码库打造的高性能类型检查。\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2 id=\"主要功能\">主要功能\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>静态类型检查\u003C\u002Fstrong>：基于标准类型标注全面检查代码\u003C\u002Fli>\n\u003Cli>\u003Cstrong>高性能设计\u003C\u002Fstrong>：专为大型源码库优化，检查速度快\u003C\u002Fli>\n\u003Cli>\u003Cstrong>命令行工具\u003C\u002Fstrong>：可集成到 CI 流水线执行类型检查\u003C\u002Fli>\n\u003Cli>\u003Cstrong>VS Code 扩展\u003C\u002Fstrong>：编辑器内实时类型诊断\u003C\u002Fli>\n\u003Cli>\u003Cstrong>在线 Playground\u003C\u002Fstrong>：浏览器中即可试用与验证类型行为\u003C\u002Fli>\n\u003Cli>\u003Cstrong>基准透明\u003C\u002Fstrong>：每周公开与其他类型检查器的性能对比\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"适用人群\">适用人群\u003C\u002Fh2>\u003Cul>\n\u003Cli>Python 开发者\u003C\u002Fli>\n\u003Cli>大型项目维护者\u003C\u002Fli>\n\u003Cli>CI 流水线维护者\u003C\u002Fli>\n\u003Cli>VS Code 用户\u003C\u002Fli>\n\u003Cli>类型标注规范推行者\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"快速上手\">快速上手\u003C\u002Fh2>\u003Col>\n\u003Cli>安装 Pyright\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-bash\">pip install pyright\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"2\">\n\u003Cli>检查项目\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-bash\">pyright\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"3\">\n\u003Cli>\u003Cp>或在 VS Code 中安装 Pyright 扩展获得实时诊断\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>可先在官方 Playground 的浏览器环境中快速体验\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"核心优势\">核心优势\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>大库友好\u003C\u002Fstrong>：为大型代码库设计，性能表现稳定\u003C\u002Fli>\n\u003Cli>\u003Cstrong>标准实现\u003C\u002Fstrong>：基于类型标注标准，行为可预期\u003C\u002Fli>\n\u003Cli>\u003Cstrong>生态地位\u003C\u002Fstrong>：VS Code 上 Pylance 的基础，社区成熟\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"系统要求\">系统要求\u003C\u002Fh2>\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>项目\u003C\u002Fth>\n\u003Cth>要求\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>操作系统\u003C\u002Ftd>\n\u003Ctd>Linux、macOS、Windows\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>使用环境\u003C\u002Ftd>\n\u003Ctd>Node.js（命令行）、VS Code（扩展）\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>目标语言\u003C\u002Ftd>\n\u003Ctd>Python\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2 id=\"注意事项\">注意事项\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>临时目录\u003C\u002Fstrong>：远程或受限环境可通过 \u003Ccode>PYRIGHT_TMPDIR\u003C\u002Fcode> 指定临时目录\u003C\u002Fli>\n\u003Cli>\u003Cstrong>与 Pylance 分工\u003C\u002Fstrong>：核心类型检查归 Pyright，语言服务功能归 Pylance，反馈时注意区分仓库\u003C\u002Fli>\n\u003Cli>\u003Cstrong>文档为准\u003C\u002Fstrong>：安装、配置与使用细节以官方文档为准\u003C\u002Fli>\n\u003C\u002Ful>\n",1793197905905]