Skip to content

Commit 4728a85

Browse files
Move mousebender files to the _vendored/ directory (#185)
1 parent ac7f1b9 commit 4728a85

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default_language_version:
22
python: "3.12"
33

4-
exclude: (^micropip/externals|^tests/vendored|^tests/test_data)
4+
exclude: (^micropip/_vendored|^tests/vendored|^tests/test_data)
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
77
rev: "v5.0.0"

micropip/externals/__init__.py

Whitespace-only changes.

micropip/package_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
from ._compat import HttpStatusError, fetch_string_and_headers
1313
from ._utils import is_package_compatible, parse_version
14+
from ._vendored.mousebender.simple import from_project_details_html
1415
from ._vendored.packaging.src.packaging.utils import InvalidWheelFilename
1516
from ._vendored.packaging.src.packaging.version import InvalidVersion, Version
16-
from .externals.mousebender.simple import from_project_details_html
1717
from .types import DistributionMetadata
1818
from .wheelinfo import WheelInfo
1919

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ build-backend = "setuptools.build_meta"
4040
write_to = "micropip/_version.py"
4141

4242
[tool.ruff]
43-
exclude = ["micropip/externals"]
43+
exclude = ["micropip/_vendored/"]
4444
line-length = 120
4545
lint.select = [
4646
"B", # bugbear

0 commit comments

Comments
 (0)