server/tools: add lint script
Integrated both pylint and pycodestyle.
This commit is contained in:
parent
9aea55e3d1
commit
663aacdf82
2 changed files with 4 additions and 0 deletions
3
server/lint
Executable file
3
server/lint
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
pylint szurubooru
|
||||
pycodestyle szurubooru --ignore=E128,E131,W503
|
|
@ -6,3 +6,4 @@ pytest>=2.9.1
|
|||
pytest-cov>=2.2.1
|
||||
freezegun>=0.3.6
|
||||
coloredlogs==5.0
|
||||
pycodestyle>=2.0.0
|
||||
|
|
Loading…
Reference in a new issue