pycln 2.2.2__tar.gz → 2.3.0__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.
- {pycln-2.2.2 → pycln-2.3.0}/PKG-INFO +1 -1
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/pathu.py +2 -5
- {pycln-2.2.2 → pycln-2.3.0}/pyproject.toml +1 -1
- {pycln-2.2.2 → pycln-2.3.0}/LICENSE +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/README.md +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/__init__.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/__main__.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/cli.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/__init__.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/_exceptions.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/_nodes.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/config.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/iou.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/refactor.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/regexu.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/report.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/scan.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/pycln/utils/transform.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/vendor/custom/__init__.py +0 -0
- {pycln-2.2.2 → pycln-2.3.0}/vendor/custom/_site.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Pycln path finding utility."""
|
|
2
2
|
import os
|
|
3
3
|
import sys
|
|
4
|
-
|
|
4
|
+
import sysconfig
|
|
5
5
|
from functools import lru_cache
|
|
6
6
|
from pathlib import Path
|
|
7
7
|
from typing import Generator, Optional, Pattern, Set, Tuple
|
|
@@ -43,10 +43,7 @@ BIN_IMPORTS = { # In case they are built into CPython.
|
|
|
43
43
|
}
|
|
44
44
|
IMPORTS_WITH_SIDE_EFFECTS = {"this", "antigravity", "rlcompleter"}
|
|
45
45
|
PYTHON_STDLIB_PATHS = frozenset(
|
|
46
|
-
{
|
|
47
|
-
sysconfig.get_python_lib(standard_lib=True, plat_specific=True),
|
|
48
|
-
sysconfig.get_python_lib(standard_lib=True, plat_specific=False),
|
|
49
|
-
}
|
|
46
|
+
{sysconfig.get_path("platstdlib"), sysconfig.get_path("stdlib")}
|
|
50
47
|
)
|
|
51
48
|
|
|
52
49
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|