Repository: hacs/integration (branch: more-proxy-tests)
Commit date: 2023-12-30T20:18:11Z

Workflow file: .github/workflows/lint.yaml (Lint)
name: Lint

on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main

concurrency:
  group: lint-${{ github.ref }}
  cancel-in-progress: true

jobs:
  matrix:
    runs-on: ubuntu-latest
    services:
      pypi_wayback:
        image: ghcr.io/waleko/pypi-wayback
        ports:
          - 8629:8080
    name: Run ${{ matrix.check }}
    strategy:
      matrix:
        check:
          - pyupgrade
          - black
          - codespell
          - check-executables-have-shebangs
          - check-json
          - requirements-txt-fixer
          - check-ast
          - mixed-line-ending
    steps:
      - name: 📥 Checkout the repository
        uses: actions/checkout@v4.1.1

      - name: 🛠️ Set up Python
        uses: actions/setup-python@v4.7.1
        id: python
        with:
          python-version: "3.11"

      - name: 📦 Install pre-commit
        run: |
          scripts/install/pip_packages pre-commit
          pre-commit install-hooks --config .github/pre-commit-config.yaml

      - name: 🏃 Run the check (${{ matrix.check }})
        run: pre-commit run --hook-stage manual ${{ matrix.check }} --all-files --config .github/pre-commit-config.yaml

  lint-json:
    runs-on: ubuntu-latest
    services:
      pypi_wayback:
        image: ghcr.io/waleko/pypi-wayback
        ports:
          - 8629:8080
    name: With JQ
    steps:
    - name: 📥 Checkout the repository
      uses: actions/checkout@v4.1.1

    - name: 🏃 Run validation
      run: jq -r -e -c . tests/fixtures/*.json
env:
  PIP_INDEX_URL: http://localhost:8629/2023-12-30
  UV_INDEX_URL: http://localhost:8629/2023-12-30


Failed build logs:
step_name: Run codespell/5_🏃 Run the check (codespell).txt
log: ##[group]Run pre-commit run --hook-stage manual codespell --all-files --config .github/pre-commit-config.yaml
[36;1mpre-commit run --hook-stage manual codespell --all-files --config .github/pre-commit-config.yaml[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.11.7/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib
##[endgroup]
codespell................................................................Failed
- hook id: codespell
- exit code: 65

tests/repositories/test_remove_repository.py:23: instad ==> instead

##[error]Process completed with exit code 1.


Changed files:
tests/repositories/test_remove_repository.py

Fix diff:
diff --git a/tests/repositories/test_remove_repository.py b/tests/repositories/test_remove_repository.py
index 57effda5..85fec925 100644
--- a/tests/repositories/test_remove_repository.py
+++ b/tests/repositories/test_remove_repository.py
@@ -20,7 +20,7 @@ from tests.conftest import SnapshotFixture
     "category_test_data",
     category_test_data_parametrized(
         skip_categories=[HacsCategory.PYTHON_SCRIPT],
-        skip_reason="bug in cleanup, using repo name instad of file name.",
+        skip_reason="bug in cleanup, using repo name instead of file name.",
     ),
 )
 async def test_remove_repository(