PBH生态的第一个果实工具 — AI生成代码缺陷静态检查器
Project description
harness-lint
PBH 生态的第一个果实工具 — 专门检测 AI 生成代码中典型坏习惯的静态检查器。
快速开始
pip install -e ".[dev]"
make verify
开发命令
| 命令 | 说明 |
|---|---|
make verify |
lint + 测试 + 覆盖率 |
make test |
运行测试 |
make lint |
代码风格检查 |
make fix |
自动修复风格问题 |
项目结构
harness-lint/
├── src/harness_lint/ # 主代码
├── tests/ # 测试
├── tasks/ # 任务拆解
├── docs/ # 文档
├── AGENTS.md # AI 协作协议
├── Makefile
└── pyproject.toml
AI 协作
本项目遵循 PBH 协议。AI 助手请阅读 AGENTS.md 了解项目规则和工作准则。
许可证
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file harness_lint-0.1.0.tar.gz.
File metadata
- Download URL: harness_lint-0.1.0.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8970688c3a8bd0877e14c2e27bf8c85b3c4cfd6812c5302c5fed22d1b5651ac
|
|
| MD5 |
9d900a3a837c126525bcb2838666a4c5
|
|
| BLAKE2b-256 |
508c92fb6d1f31f1abd2958078348f552c444284bd3c520b07584f7df973fe8b
|
Provenance
The following attestation bundles were made for harness_lint-0.1.0.tar.gz:
Publisher:
publish.yml on renjianguojinqianfan/harness-lint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harness_lint-0.1.0.tar.gz -
Subject digest:
f8970688c3a8bd0877e14c2e27bf8c85b3c4cfd6812c5302c5fed22d1b5651ac - Sigstore transparency entry: 1397377979
- Sigstore integration time:
-
Permalink:
renjianguojinqianfan/harness-lint@627a9e96175f56245d03b7a638117354f50a39bd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/renjianguojinqianfan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@627a9e96175f56245d03b7a638117354f50a39bd -
Trigger Event:
push
-
Statement type:
File details
Details for the file harness_lint-0.1.0-py3-none-any.whl.
File metadata
- Download URL: harness_lint-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41439e289f619d064d3f16da745a50eb9eecf93527c0d60d7d9221ff7f77401d
|
|
| MD5 |
0cbbfcc0ce676984af29220fc863f799
|
|
| BLAKE2b-256 |
2668a376b72a96d5d84e4544525b55321540f15fb2d8bc700c1df7ef3fdf4ff7
|
Provenance
The following attestation bundles were made for harness_lint-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on renjianguojinqianfan/harness-lint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harness_lint-0.1.0-py3-none-any.whl -
Subject digest:
41439e289f619d064d3f16da745a50eb9eecf93527c0d60d7d9221ff7f77401d - Sigstore transparency entry: 1397377989
- Sigstore integration time:
-
Permalink:
renjianguojinqianfan/harness-lint@627a9e96175f56245d03b7a638117354f50a39bd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/renjianguojinqianfan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@627a9e96175f56245d03b7a638117354f50a39bd -
Trigger Event:
push
-
Statement type: