Unverified Commit b0d155d3 authored by Hailey Schoelkopf's avatar Hailey Schoelkopf Committed by GitHub
Browse files

Update Linter CI Job (#1130)

* add ignoring of no-commit-to-branch

* fix method of skipping pre-commit step
parent e65e5bbd
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment