diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1194b963..ec4d9b3a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,6 +11,4 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - with: - python-version: '3.13' # or '3.12' - uses: pre-commit/action@v3.0.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2856f309..301e16c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,6 +14,6 @@ repos: - --additional-pattern - '_PASSWORD=[0-9a-zA-Z_-]{10}' - repo: https://github.com/ambv/black - rev: 24.1.1 # Use latest tag on GitHub + rev: 25.11.0 # Use latest tag on GitHub hooks: - id: black-jupyter diff --git a/supporting-blog-content/lexical-and-semantic-search-with-elasticsearch/ecommerce_dense_sparse_project.ipynb b/supporting-blog-content/lexical-and-semantic-search-with-elasticsearch/ecommerce_dense_sparse_project.ipynb index b8d8a7b5..93ae1104 100644 --- a/supporting-blog-content/lexical-and-semantic-search-with-elasticsearch/ecommerce_dense_sparse_project.ipynb +++ b/supporting-blog-content/lexical-and-semantic-search-with-elasticsearch/ecommerce_dense_sparse_project.ipynb @@ -1106,8 +1106,7 @@ "metadata": {}, "outputs": [], "source": [ - "\"\"\" Convert search_results from es|ql to a dict with _source\n", - " and subproperties of score, description, category, and product \"\"\"\n", + "# Convert search_results from es|ql to a dict with _source and subproperties of score, description, category, and product\n", "\n", "\n", "def normalize_results(search_results):\n",