pythonimporttree 0.3.0__py3-none-any.whl → 0.4.0__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.
@@ -4,6 +4,11 @@ import libcst as cst
4
4
  from libcst.helpers import get_full_name_for_node
5
5
  import os
6
6
 
7
+ def read_source(path: Path) -> str:
8
+ # Respecteer ook een eventuele Python-encodingdeclaratie.
9
+ with tokenize.open(path) as stream:
10
+ return stream.read()
11
+
7
12
 
8
13
  def python_files(directory: Path) -> list[Path]:
9
14
  """Bekijk uitsluitend de gekozen map; negeer gegenereerde kopieën."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pythonimporttree
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Add your description here
5
5
  Author: Vincent Nys
6
6
  Author-email: Vincent Nys <vincentnys@gmail.com>
@@ -0,0 +1,5 @@
1
+ pythonimporttree/__init__.py,sha256=lXKgvtw2baJtGyV6xS5gNfi0bXxCsvYeB3VvIYn4OPQ,2720
2
+ pythonimporttree/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pythonimporttree-0.4.0.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
4
+ pythonimporttree-0.4.0.dist-info/METADATA,sha256=HhrnPDt3rs-k6WUCNlAWEZn0VXeZW7eHopeL_CZmCeE,290
5
+ pythonimporttree-0.4.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- pythonimporttree/__init__.py,sha256=tM1ok5T-yFcBFV6F0sLggHhrK1Z71gqi87aH8mXxYTs,2552
2
- pythonimporttree/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- pythonimporttree-0.3.0.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
4
- pythonimporttree-0.3.0.dist-info/METADATA,sha256=BO47piaffHl87VokbTrw4WQvHSZWy00fvBufUDXMTGY,290
5
- pythonimporttree-0.3.0.dist-info/RECORD,,