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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codelexity
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A package that measures code complexity in the age of AI slop.
5
5
  Keywords: complexity,halstead,maintainability,cyclomatic,static-analysis,metrics
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codelexity"
3
- version = "0.2.1"
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.1"
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.1"
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.1"
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.read_txt(encoding="utf-8")
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