Skip to content

Commit 3330f6a

Browse files
committed
Add flake8 configuration file.
1 parent 44d824b commit 3330f6a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ steps:
1111
image: abcminiuser/docker-ci-python:latest
1212
pull: always
1313
commands:
14-
- flake8 --ignore E501,E261,E722 src/
14+
- flake8 --config .flake8 src/
1515

1616
- name: Bandit
1717
image: abcminiuser/docker-ci-python:latest

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E501,E261,E722

0 commit comments

Comments
 (0)