mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
add flake8 testing environment
This commit is contained in:
parent
de6bd537b5
commit
44f9cfaaf1
2 changed files with 14 additions and 1 deletions
14
tox.ini
14
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py{27,33,34},docs
|
||||
envlist = py{27,33,34},docs,flake8
|
||||
|
||||
[testenv]
|
||||
basepython =
|
||||
|
|
@ -27,3 +27,15 @@ deps =
|
|||
changedir = docs
|
||||
commands =
|
||||
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
|
||||
|
||||
[flake8]
|
||||
application-import-names = pelican
|
||||
import-order-style = cryptography
|
||||
|
||||
[testenv:flake8]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
flake8 <= 2.4.1
|
||||
git+https://github.com/public/flake8-import-order@2ac7052a4e02b4a8a0125a106d87465a3b9fd688
|
||||
commands =
|
||||
flake8 pelican
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue