refactor lint->lint-server, introduce lint to lint all

This commit is contained in:
Severiano Badajoz
2020-04-08 09:54:36 -07:00
parent e1c5408acc
commit d818b62ee5
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -27,11 +27,11 @@ jobs:
- name: Lint with flake8
run: |
pip install flake8
make lint
make lint-server
- name: Lint all with eslint
if: github.ref == 'refs/heads/master'
run: |
make lint-client
make lint-client
- name: Lint diff with eslint
if: github.ref != 'refs/heads/master'
run: |
+4 -1
View File
@@ -74,7 +74,10 @@ fmt-py:
black .
.PHONY: lint
lint:
lint: lint-server lint-client
.PHONY: lint-server
lint-server:
flake8 server
.PHONY: lint-client