pydoclintpython
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pydoclintpython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ef91fc27d0f457709f69a99691a3d562c9ef79dcec64d6288ef9eac5455a3ac6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/validate-python-docstrings-against-function-signatures-with-pydoclint before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Checks that Python docstrings are consistent with a function/method's parameters, return values, and raised exceptions, and verifies this consistency as code evolves.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Python, pydoclint, Python source tree
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 pydoclint 验证 Python 文档字符串与函数签名的一致性"
slug: "validate-python-docstrings-against-function-signatures-with-pydoclint"
version: "1.0.0"
displayName: "使用 pydoclint 验证 Python 文档字符串与函数签名的一致性"
summary: "检查Python文档字符串是否与参数、返回值和抛出的异常保持一致,随着代码的演变而保持一致性。"
license: "MIT"
description: "检查Python文档字符串是否与参数、返回值和抛出的异常保持一致,随着代码的演变而变化。
```"
github_stars: 208
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 208使用 pydoclint 验证 Python 文档字符串与函数签名的一致性
Check that Python docstrings stay consistent with parameters, returns, and raised exceptions as code evolves.
Prerequisites
Python, pydoclint, Python source tree
Installation
Use the upstream install or setup path that matches your environment:
- pip install pydoclint
- pip install pydoclint[flake8]
Requirements and caveats from upstream:
- Pydoclint is a Python docstring linter to check whether a docstring's
- Here is a comparison of linting time on some famous Python projects:
- also install flake8 to the current Python environment:
Basic usage or getting-started notes:
-
To install only the native pydoclint tooling, run this command:
-
Extracted from upstream docs: https://raw.githubusercontent.com/jsh9/pydoclint/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
文档内容截断 Reported severity: Minor
description 字段内容中途断句结尾,影响完整性。
Recommendation: 请补全 description 字段内容,确保完整描述功能。
Highlights
- 提供专业的 Python 文档字符串一致性检查功能
- 适用于代码质量保障场景,对开发者有实用价值
Areas to improve
-
触发词覆盖不全 Reported severity: Minor
触发词未覆盖所有可能的变体,如 'docstring lint' 等。
Recommendation: 建议补充更多触发词变体以提高触发准确率。
Highlights
- 触发词清晰明确,覆盖主要功能场景
Areas to improve
-
文档结构混乱 Reported severity: Major
文档内容排版混乱,存在截断、格式问题和未完成的句子。
Recommendation: 请重新整理文档结构,确保内容完整、格式规范。
Highlights
- 包含基本的安装和使用说明
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未覆盖主要异常处理场景,如网络问题、权限问题等。
Recommendation: 建议补充异常处理说明,提高执行可靠性。
Highlights
- 工具来源明确,参数正确
- 提供了基本的安装和使用路径
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 33, 34
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- jsh9.github.io
- raw.githubusercontent.com
- www.sphinx-doc.org
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python, pydoclint, Python source tree
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.