Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
b0d155d3
Unverified
Commit
b0d155d3
authored
Dec 15, 2023
by
Hailey Schoelkopf
Committed by
GitHub
Dec 15, 2023
Browse files
Update Linter CI Job (#1130)
* add ignoring of no-commit-to-branch * fix method of skipping pre-commit step
parent
e65e5bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.github/workflows/unit_tests.yml
.github/workflows/unit_tests.yml
+1
-1
No files found.
.github/workflows/unit_tests.yml
View file @
b0d155d3
...
...
@@ -29,7 +29,7 @@ jobs:
cache
:
pip
cache-dependency-path
:
setup.py
-
name
:
Install dependencies
run
:
pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
run
:
pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
; export SKIP=no-commit-to-branch
# env var deactivates --no-commit-to-branch
-
name
:
Pre-Commit
uses
:
pre-commit/action@v3.0.0
-
name
:
Lint with pylint
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment