Add flake8 config file
This commit is contained in:
Родитель
890461c013
Коммит
029cbcda86
|
@ -57,7 +57,7 @@ jobs:
|
|||
command: docker run app:build test
|
||||
- run:
|
||||
name: Lint Code
|
||||
command: docker run app:build flake8 leanplum_data_export/leanplum_data_export/ leanplum_data_export/tests/ --max-line-length 100
|
||||
command: docker run app:build flake8 leanplum_data_export/
|
||||
|
||||
deploy:
|
||||
docker:
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[flake8]
|
||||
max-line-length = 100
|
||||
exclude = venv/*
|
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ clean-pyc:
|
|||
find . -name '*~' -exec rm -f {} +
|
||||
|
||||
lint:
|
||||
flake8 leanplum_data_export/ tests/ --max-line-length 100
|
||||
flake8 .
|
||||
|
||||
test:
|
||||
docker-compose run app test
|
||||
|
|
Загрузка…
Ссылка в новой задаче