codehound 0.1.0__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codehound-0.1.0 → codehound-1.0.3}/PKG-INFO +13 -2
- {codehound-0.1.0 → codehound-1.0.3}/README.md +12 -1
- {codehound-0.1.0 → codehound-1.0.3}/pyproject.toml +4 -1
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/__init__.py +1 -1
- {codehound-0.1.0 → codehound-1.0.3}/.gitignore +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/LICENSE +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/__init__.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/blocking_async.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/datetime_utcnow.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/floating_task.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/get_event_loop.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/mutable_defaults.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/checks/resource_leak.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/cli.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/src/codehound/core.py +0 -0
- {codehound-0.1.0 → codehound-1.0.3}/tests/test_checks.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: codehound
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: An AST-based static analyzer that hunts real correctness and async-safety bugs in Python code.
|
|
5
5
|
Project-URL: Homepage, https://github.com/kratos0718/codehound
|
|
6
6
|
Project-URL: Issues, https://github.com/kratos0718/codehound/issues
|
|
@@ -23,6 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
**An AST-based static analyzer that hunts *real* bugs in large Python codebases — every rule is backed by a bug that was actually found and merged into a major open-source AI framework.**
|
|
24
24
|
|
|
25
25
|
[](https://github.com/kratos0718/codehound/actions/workflows/ci.yml)
|
|
26
|
+
[](https://pypi.org/project/codehound/)
|
|
26
27
|

|
|
27
28
|

|
|
28
29
|
[](https://doi.org/10.5281/zenodo.21851079)
|
|
@@ -63,13 +64,23 @@ I was contributing bug fixes to large AI frameworks and noticed the same handful
|
|
|
63
64
|
## Install
|
|
64
65
|
|
|
65
66
|
```bash
|
|
66
|
-
|
|
67
|
+
pip install codehound
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Zero dependencies — it's ~750 lines on top of the standard-library `ast` module, so this installs instantly and runs fully offline, no API key or network call involved.
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>From a clone instead (for development)</summary>
|
|
74
|
+
|
|
75
|
+
```bash
|
|
67
76
|
pip install -e .
|
|
68
77
|
|
|
69
78
|
# or run straight from source, no install needed
|
|
70
79
|
PYTHONPATH=src python -m codehound.cli scan path/to/project
|
|
71
80
|
```
|
|
72
81
|
|
|
82
|
+
</details>
|
|
83
|
+
|
|
73
84
|
## Usage
|
|
74
85
|
|
|
75
86
|
```bash
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
**An AST-based static analyzer that hunts *real* bugs in large Python codebases — every rule is backed by a bug that was actually found and merged into a major open-source AI framework.**
|
|
4
4
|
|
|
5
5
|
[](https://github.com/kratos0718/codehound/actions/workflows/ci.yml)
|
|
6
|
+
[](https://pypi.org/project/codehound/)
|
|
6
7
|

|
|
7
8
|

|
|
8
9
|
[](https://doi.org/10.5281/zenodo.21851079)
|
|
@@ -43,13 +44,23 @@ I was contributing bug fixes to large AI frameworks and noticed the same handful
|
|
|
43
44
|
## Install
|
|
44
45
|
|
|
45
46
|
```bash
|
|
46
|
-
|
|
47
|
+
pip install codehound
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Zero dependencies — it's ~750 lines on top of the standard-library `ast` module, so this installs instantly and runs fully offline, no API key or network call involved.
|
|
51
|
+
|
|
52
|
+
<details>
|
|
53
|
+
<summary>From a clone instead (for development)</summary>
|
|
54
|
+
|
|
55
|
+
```bash
|
|
47
56
|
pip install -e .
|
|
48
57
|
|
|
49
58
|
# or run straight from source, no install needed
|
|
50
59
|
PYTHONPATH=src python -m codehound.cli scan path/to/project
|
|
51
60
|
```
|
|
52
61
|
|
|
62
|
+
</details>
|
|
63
|
+
|
|
53
64
|
## Usage
|
|
54
65
|
|
|
55
66
|
```bash
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "codehound"
|
|
7
|
-
|
|
7
|
+
dynamic = ["version"]
|
|
8
8
|
description = "An AST-based static analyzer that hunts real correctness and async-safety bugs in Python code."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -30,6 +30,9 @@ codehound = "codehound.cli:main"
|
|
|
30
30
|
[project.optional-dependencies]
|
|
31
31
|
dev = ["pytest>=7"]
|
|
32
32
|
|
|
33
|
+
[tool.hatch.version]
|
|
34
|
+
path = "src/codehound/__init__.py"
|
|
35
|
+
|
|
33
36
|
[tool.hatch.build.targets.wheel]
|
|
34
37
|
packages = ["src/codehound"]
|
|
35
38
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|