mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
build: lint: fix exit with optional pylint
Ref: https://github.com/neovim/neovim/pull/10714#issuecomment-518932355
This commit is contained in:
2
Makefile
2
Makefile
@@ -185,7 +185,7 @@ appimage-%:
|
||||
lint: check-single-includes clint lualint
|
||||
@# Run pylint only if flake8 is installed.
|
||||
@command -v flake8 \
|
||||
&& { $(MAKE) pylint; exit $?; } \
|
||||
&& { $(MAKE) pylint; exit $$?; } \
|
||||
|| echo "SKIP: pylint (flake8 not found)"
|
||||
|
||||
# Generic pattern rules, allowing for `make build/bin/nvim` etc.
|
||||
|
Reference in New Issue
Block a user