Skip to content

Commit 8108a1d

Browse files
committed
Do not run lintrunner init in lintrunner CI job
Two reasons: 1) It will end up spamming pip install -r requirements-dev.txt once for each linter because of the way we have init commands set up. This is fixable, but: 2) setup_linux sets up lintrunner for us already anyway via install_requirements. ghstack-source-id: 243e923 ghstack-comment-id: 3286097617 Pull-Request: #14263
1 parent e6b9111 commit 8108a1d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ jobs:
4545
cp -r "${CACHE_DIRECTORY}" . || true
4646
fi
4747
48-
# This has already been cached in the docker image
49-
lintrunner init
50-
5148
RC=0
5249
# Run lintrunner on all files
5350
if ! lintrunner --force-color --all-files --tee-json=lint.json 2> /dev/null; then

0 commit comments

Comments
 (0)