Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit d4568b6

Browse files
committed
Add flake8 config file
1 parent 3174968 commit d4568b6

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
command: docker run app:build test
5858
- run:
5959
name: Lint Code
60-
command: docker run app:build flake8 python-application/python_application pyton-application/tests --max-line-length 100
60+
command: docker run app:build flake8 python-application
6161

6262
deploy:
6363
docker:

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 100
3+
exclude = venv/*

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ clean-pyc:
2424
find . -name '*~' -exec rm -f {} +
2525

2626
lint:
27-
flake8 --max-line-length 100
27+
flake8 .
2828

2929
test:
3030
docker-compose run app test

0 commit comments

Comments
 (0)