2020-01-24 11:00:21 +01:00
|
|
|
[tox]
|
2020-02-02 05:21:28 +01:00
|
|
|
envlist = py
|
2020-01-24 11:00:21 +01:00
|
|
|
minversion = 3.3
|
2020-06-19 09:34:28 +02:00
|
|
|
isolated_build = True
|
2020-01-24 11:00:21 +01:00
|
|
|
|
|
|
|
[testenv]
|
2020-02-05 11:07:16 +01:00
|
|
|
deps =
|
|
|
|
Cython
|
2020-04-21 20:25:09 +02:00
|
|
|
scipy
|
2020-02-05 11:07:16 +01:00
|
|
|
pytest-cov
|
2020-08-24 06:42:45 +02:00
|
|
|
commands = pytest
|
2020-05-03 15:00:44 +02:00
|
|
|
setenv = CYTHON_TRACE = 1
|
|
|
|
passenv = TRAVIS
|
2020-02-05 11:07:16 +01:00
|
|
|
|
2020-08-24 06:42:45 +02:00
|
|
|
[testenv:lint]
|
|
|
|
skip_install = true
|
|
|
|
deps = flake8
|
|
|
|
commands = flake8
|
|
|
|
|
2020-02-05 11:07:16 +01:00
|
|
|
[flake8]
|
|
|
|
filename = *.pxd, *.pyx, *.py
|
|
|
|
hang-closing = True
|
2020-04-17 15:40:39 +02:00
|
|
|
ignore = W503, E125, E225, E226, E227, E701, E704
|
2020-02-14 15:42:06 +01:00
|
|
|
per-file-ignores = *.pxd:E501,E999
|
2020-02-05 11:07:16 +01:00
|
|
|
; See https://github.com/PyCQA/pycodestyle/issues/906
|
|
|
|
;max-doc-length = 72
|
|
|
|
|
|
|
|
[pytest]
|
2020-05-09 16:51:55 +02:00
|
|
|
addopts = --cov=palace
|
2020-02-05 11:07:16 +01:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
plugins = Cython.Coverage
|