Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Leave running pre-commit to pre-commit.ci #353

Merged
merged 1 commit into from Nov 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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