Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Llama Index
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
run-llama
Llama Index
Commits
22a03729
Unverified
Commit
22a03729
authored
1 year ago
by
Logan
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove extra linting steps (#9878)
parent
0b213761
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/lint.yml
+2
-2
2 additions, 2 deletions
.github/workflows/lint.yml
.pre-commit-config.yaml
+1
-1
1 addition, 1 deletion
.pre-commit-config.yaml
Makefile
+0
-1
0 additions, 1 deletion
Makefile
with
3 additions
and
4 deletions
.github/workflows/lint.yml
+
2
−
2
View file @
22a03729
...
@@ -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
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
1
−
1
View file @
22a03729
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
0
−
1
View file @
22a03729
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment