mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
Automate Flake8 check in the CI.
This commit is contained in:
parent
3a9da9f28a
commit
568ee9ecf3
2 changed files with 11 additions and 1 deletions
|
@ -2,3 +2,4 @@ zest.releaser
|
|||
tox
|
||||
pytest
|
||||
Flask-Testing
|
||||
Flake8
|
||||
|
|
11
tox.ini
11
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py35,py34,py27,docs
|
||||
envlist = py35,py34,py27,docs,lint
|
||||
skip_missing_interpreters = True
|
||||
|
||||
[testenv]
|
||||
|
@ -17,3 +17,12 @@ install_command = pip install --pre {opts} {packages}
|
|||
commands = sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
|
||||
deps =
|
||||
-rdocs/requirements.txt
|
||||
|
||||
[testenv:lint]
|
||||
commands = flake8 ihatemoney
|
||||
deps =
|
||||
-rdev-requirements.txt
|
||||
|
||||
[flake8]
|
||||
exclude = migrations
|
||||
max_line_length = 100
|
||||
|
|
Loading…
Reference in a new issue