Skip pb files in linters

In isort, black, and flake8, respectively.

Add `format` in Makefile

Run top level packages only

With `setup.py`, to avoid running other unrelated directories.

Refactor
This commit is contained in:
mhchia
2019-08-03 18:02:27 +08:00
committed by Kevin Mai-Husan Chia
parent c8005c8113
commit 4fef80595c
3 changed files with 33 additions and 3 deletions

View File

@ -7,7 +7,7 @@ envlist =
[flake8]
max-line-length= 100
exclude=
exclude=*_pb2*.py
ignore=
[isort]
@ -18,6 +18,7 @@ include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
skip_glob=*_pb2*.py
[testenv]
deps =