1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-07-02 06:38:30 +02:00

Lint code

This commit is contained in:
Alexandre Iooss
2020-09-14 15:04:54 +02:00
parent c937c1624a
commit b0eefa8590
3 changed files with 44 additions and 2 deletions

26
tox.ini Normal file
View File

@ -0,0 +1,26 @@
[tox]
envlist =
linters
skipsdist = True
[testenv:linters]
deps =
flake8
flake8-colors
flake8-import-order
flake8-typing-imports
pep8-naming
pyflakes
commands =
flake8 ghostream
[flake8]
exclude =
__pycache__,
*.pyc,
*.egg-info,
.cache,
.eggs
import-order-style = google
application-import-names = flake8
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s