Skip to content

Commit

Permalink
CI: Leave running pre-commit to pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpieters committed Nov 8, 2022
1 parent d3c1483 commit b3a97e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
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 b3a97e9

Please sign in to comment.