Skip to content

Commit

Permalink
Move mousebender files to the _vendored/ directory (pyodide#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal authored Jan 29, 2025
1 parent ac7f1b9 commit 4728a85
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default_language_version:
python: "3.12"

exclude: (^micropip/externals|^tests/vendored|^tests/test_data)
exclude: (^micropip/_vendored|^tests/vendored|^tests/test_data)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
Expand Down
File renamed without changes.
Empty file removed micropip/externals/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion micropip/package_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

from ._compat import HttpStatusError, fetch_string_and_headers
from ._utils import is_package_compatible, parse_version
from ._vendored.mousebender.simple import from_project_details_html
from ._vendored.packaging.src.packaging.utils import InvalidWheelFilename
from ._vendored.packaging.src.packaging.version import InvalidVersion, Version
from .externals.mousebender.simple import from_project_details_html
from .types import DistributionMetadata
from .wheelinfo import WheelInfo

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ build-backend = "setuptools.build_meta"
write_to = "micropip/_version.py"

[tool.ruff]
exclude = ["micropip/externals"]
exclude = ["micropip/_vendored/"]
line-length = 120
lint.select = [
"B", # bugbear
Expand Down

0 comments on commit 4728a85

Please sign in to comment.