mirror of
https://github.com/McSinyx/palace
synced 2023-12-14 09:02:59 +01:00
Nguyễn Gia Phong
83315de9c8
This fixes GH-64. Moreover switch back to flake8 since pytest-flake8 is not as configurable.
31 lines
494 B
INI
31 lines
494 B
INI
[tox]
|
|
envlist = py
|
|
minversion = 3.3
|
|
isolated_build = true
|
|
|
|
[testenv]
|
|
deps =
|
|
Cython
|
|
scipy
|
|
flake8
|
|
pytest-cov
|
|
commands =
|
|
flake8
|
|
pytest
|
|
setenv = CYTHON_TRACE = 1
|
|
passenv = TRAVIS
|
|
|
|
[flake8]
|
|
filename = *.pxd, *.pyx, *.py
|
|
hang-closing = True
|
|
ignore = W503, E125, E225, E226, E227, E701, E704
|
|
per-file-ignores = *.pxd:E501,E999
|
|
; See https://github.com/PyCQA/pycodestyle/issues/906
|
|
;max-doc-length = 72
|
|
|
|
[pytest]
|
|
addopts = --cov=palace
|
|
|
|
[coverage:run]
|
|
plugins = Cython.Coverage
|