Added flake8 stuff

pull/15/head
Jef Roosens 2021-04-25 09:59:18 +02:00
parent 16c3edfb17
commit 79fb3c9a11
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
3 changed files with 10 additions and 0 deletions

4
.flake8 100644
View File

@ -0,0 +1,4 @@
# vim: ft=cfg
[flake8]
inline-quotes = double
max-complexity = 7

View File

@ -18,6 +18,7 @@ format: venv
clean: clean:
rm -rf .venv rm -rf .venv
rm -rf .tox
rm backup_tool rm backup_tool
.PHONY: clean .PHONY: clean

View File

@ -12,6 +12,11 @@ test =
lint = lint =
black==20.8b1 black==20.8b1
flake8==3.8.4 flake8==3.8.4
flake8-bugbear==20.1.4
flake8-comprehensions==3.2.3
flake8-docstrings==1.5.0
flake8-print==3.1.4
flake8-quotes==3.2.0
# Required for the developer # Required for the developer
develop = develop =