mirror of
https://github.com/McSinyx/palace
synced 2023-12-14 09:02:59 +01:00
Nguyễn Gia Phong
19ac906048
Since this introduce a new source files, all sources are moved to a new directory src.
30 lines
442 B
INI
30 lines
442 B
INI
[tox]
|
|
envlist = py
|
|
minversion = 3.3
|
|
isolated_build = true
|
|
|
|
[testenv]
|
|
deps =
|
|
flake8
|
|
Cython
|
|
pytest-cov
|
|
commands =
|
|
flake8
|
|
pytest
|
|
|
|
[flake8]
|
|
filename = *.pxd, *.pyx, *.py
|
|
hang-closing = True
|
|
ignore = E225, E226, E227, E701
|
|
per-file-ignores =
|
|
*.pxd:E501,E999
|
|
*.pyx:E999
|
|
; See https://github.com/PyCQA/pycodestyle/issues/906
|
|
;max-doc-length = 72
|
|
|
|
[pytest]
|
|
addopts = --cov=palace
|
|
|
|
[coverage:run]
|
|
plugins = Cython.Coverage
|