Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Added flake8 to check for Python linting issues #31

Merged
merged 3 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
key: v1-sonarcloud-scanner-4.6.2.2472
paths: /tmp/cache/scanner

- run:
name: flake8 lint tests
command: flake8 --config .flake8
dependency-check:
docker:
- image: cimg/python:3.8
Expand Down
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
max-line-lenght = 160
ignore =
Z111 # not a real code, just placeholder for an example
3 changes: 2 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest==6.2.5
pytest-cov==3.0.0
safety==1.10.3
safety==1.10.3
flake8==4.0.1
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ pdfkit==0.6.1
beautifulsoup4==4.7.1

gunicorn==19.10.0
flake8==3.6.0