run black formatter on repo (#1891)

* add black to lint make cmd

* add black dependency to installation to push test pipeline
This commit is contained in:
Madison Dunitz
2020-09-30 11:16:13 -05:00
committed by GitHub
parent 2ffe5ffcae
commit 998fa4762d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -31,9 +31,10 @@ jobs:
- name: Install dependencies
run: |
pip install flake8
pip install black
cd client
npm install
- name: Lint with flake8
- name: Format with black and lint with flake8
run: |
make lint-server
- name: Lint src with eslint
+1 -1
View File
@@ -82,7 +82,7 @@ fmt-py:
lint: lint-server lint-client
.PHONY: lint-server
lint-server:
lint-server: fmt-py
flake8 server --per-file-ignores='server/test/fixtures/dataset_config_outline.py:F821 server/test/fixtures/server_config_outline.py:F821'