Skip to content

Commit

Permalink
Rename entrypoint from 'ipylab-python-backend' to 'ipylab_backend' (h…
Browse files Browse the repository at this point in the history
…ypens are not allowed).
  • Loading branch information
Alan Fleming committed Mar 27, 2024
1 parent aa8d339 commit 38e4015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ repos:
- id: requirements-txt-fixer
- id: check-builtin-literals
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.28.0
hooks:
- id: check-github-workflows
- repo: https://github.com/ComPWA/mirrors-taplo
rev: 'v0.8.1'
hooks:
- id: taplo
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.3.4
hooks:
- id: ruff
types_or: [python, jupyter]
Expand All @@ -50,11 +50,11 @@ repos:
- tomli

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.1.0'
rev: 'v4.0.0-alpha.8'
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
- repo: https://github.com/kynan/nbstripout
rev: '0.6.1'
rev: '0.7.1'
hooks:
- id: nbstripout
2 changes: 1 addition & 1 deletion ipylab/jupyterfrontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _init_python_backend(self) -> str:
from ipylab.hookspecs import pm

try:
count = pm.load_setuptools_entrypoints("ipylab-python-backend")
count = pm.load_setuptools_entrypoints("ipylab_backend")
self.log.info(f"Ipylab python backend found {count} plugin entry points.")
except Exception as e:
self.log.error("An exception occurred when loading plugins")
Expand Down

0 comments on commit 38e4015

Please sign in to comment.