codelexity 0.2.1__tar.gz → 0.2.2__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.
- {codelexity-0.2.1 → codelexity-0.2.2}/PKG-INFO +1 -1
- {codelexity-0.2.1 → codelexity-0.2.2}/pyproject.toml +2 -2
- {codelexity-0.2.1 → codelexity-0.2.2}/pyproject.toml.orig +2 -2
- {codelexity-0.2.1 → codelexity-0.2.2}/src/codelexity/calculations.py +1 -1
- {codelexity-0.2.1 → codelexity-0.2.2}/LICENSE +0 -0
- {codelexity-0.2.1 → codelexity-0.2.2}/README.md +0 -0
- {codelexity-0.2.1 → codelexity-0.2.2}/src/codelexity/__init__.py +0 -0
- {codelexity-0.2.1 → codelexity-0.2.2}/src/codelexity/graph.py +0 -0
- {codelexity-0.2.1 → codelexity-0.2.2}/src/codelexity/halstead.py +0 -0
- {codelexity-0.2.1 → codelexity-0.2.2}/src/codelexity/main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "codelexity"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2"
|
|
4
4
|
description = "A package that measures code complexity in the age of AI slop."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -43,7 +43,7 @@ path = "src"
|
|
|
43
43
|
editable = true
|
|
44
44
|
|
|
45
45
|
[tool.bumpver]
|
|
46
|
-
current_version = "0.2.
|
|
46
|
+
current_version = "0.2.2"
|
|
47
47
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
48
48
|
push = false
|
|
49
49
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "codelexity"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2"
|
|
4
4
|
description = "A package that measures code complexity in the age of AI slop."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -48,7 +48,7 @@ dev = [
|
|
|
48
48
|
]
|
|
49
49
|
|
|
50
50
|
[tool.bumpver]
|
|
51
|
-
current_version = "0.2.
|
|
51
|
+
current_version = "0.2.2"
|
|
52
52
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
53
53
|
push = false # inspect the tag before it leaves the machine
|
|
54
54
|
|
|
@@ -118,7 +118,7 @@ def imports(module_path, root=None):
|
|
|
118
118
|
|
|
119
119
|
def analyze_module(path, root=None):
|
|
120
120
|
pth = Path(path).resolve()
|
|
121
|
-
st = pth.
|
|
121
|
+
st = pth.read_text(encoding="utf-8")
|
|
122
122
|
total, empty, comments = (
|
|
123
123
|
len(st.split("\n")),
|
|
124
124
|
len(empty_lines(st)),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|