sourcecode 4.5.1__py3-none-any.whl → 4.5.3__py3-none-any.whl

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.

Potentially problematic release.


This version of sourcecode might be problematic. Click here for more details.

sourcecode/__init__.py CHANGED
@@ -4,4 +4,4 @@ ASK Engine is the product. ``ask`` is the canonical CLI command; ``sourcecode``
4
4
  the legacy compatibility alias and the Python/PyPI package name. See
5
5
  docs/PRODUCT_IDENTITY.md (normative)."""
6
6
 
7
- __version__ = "4.5.1"
7
+ __version__ = "4.5.3"
@@ -1252,7 +1252,7 @@ class AstExtractor:
1252
1252
  stat = path.stat()
1253
1253
  if stat.st_size > self.max_file_size:
1254
1254
  return FileContract(
1255
- path=str(path.relative_to(root)) if root else path.name,
1255
+ path=rel_path,
1256
1256
  language=language,
1257
1257
  extraction_method="heuristic",
1258
1258
  limitations=[f"file_too_large: {stat.st_size} bytes > {self.max_file_size}"],