Skip to content
Snippets Groups Projects
Unverified Commit 22a03729 authored by Logan's avatar Logan Committed by GitHub
Browse files

Remove extra linting steps (#9878)

parent 0b213761
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,9 @@ jobs: ...@@ -29,9 +29,9 @@ jobs:
uses: snok/install-poetry@v1 uses: snok/install-poetry@v1
with: with:
version: ${{ env.POETRY_VERSION }} version: ${{ env.POETRY_VERSION }}
- name: Install deps - name: Install pre-commit
shell: bash shell: bash
run: poetry install --with dev run: poetry run pip install pre-commit
- name: Run linter - name: Run linter
shell: bash shell: bash
run: poetry run make lint run: poetry run make lint
...@@ -45,7 +45,7 @@ repos: ...@@ -45,7 +45,7 @@ repos:
"types-redis", "types-redis",
"types-setuptools", "types-setuptools",
"types-PyYAML", "types-PyYAML",
"types-protobuf", "types-protobuf==4.24.0.4",
] ]
exclude: ^(docs/|llama_index/_static) exclude: ^(docs/|llama_index/_static)
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
......
...@@ -9,7 +9,6 @@ format: ## Run code autoformatters (black). ...@@ -9,7 +9,6 @@ format: ## Run code autoformatters (black).
lint: ## Run linters: pre-commit (black, ruff, codespell) and mypy lint: ## Run linters: pre-commit (black, ruff, codespell) and mypy
pre-commit install && pre-commit run --all-files --show-diff-on-failure pre-commit install && pre-commit run --all-files --show-diff-on-failure
mypy .
test: ## Run tests via pytest. test: ## Run tests via pytest.
pytest tests pytest tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment