Skip to content

Commit

Permalink
CI: Leave running pre-commit to pre-commit.ci (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpieters authored Nov 8, 2022
1 parent f5b5723 commit a077c43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ cythonize: .install-cython $(PYXS:.pyx=.c)

.install-deps: cythonize $(shell find requirements -type f)
pip install -r requirements/ci.txt
ifndef CI
pre-commit install
endif
@touch .install-deps

lint: .install-deps
ifdef CI
python -m pre_commit run --all-files --show-diff-on-failure
else
ifndef CI
python -m pre_commit run --all-files
endif
python -m mypy frozenlist --show-error-codes
Expand Down

0 comments on commit a077c43

Please sign in to comment.