Added flake8 stuff
This commit is contained in:
parent
16c3edfb17
commit
79fb3c9a11
3 changed files with 10 additions and 0 deletions
4
.flake8
Normal file
4
.flake8
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# vim: ft=cfg
|
||||
[flake8]
|
||||
inline-quotes = double
|
||||
max-complexity = 7
|
||||
1
Makefile
1
Makefile
|
|
@ -18,6 +18,7 @@ format: venv
|
|||
|
||||
clean:
|
||||
rm -rf .venv
|
||||
rm -rf .tox
|
||||
rm backup_tool
|
||||
.PHONY: clean
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,11 @@ test =
|
|||
lint =
|
||||
black==20.8b1
|
||||
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
|
||||
develop =
|
||||
|
|
|
|||
Reference in a new issue