forked from tlsfuzzer/python-ecdsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (34 loc) · 1.01 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[tox]
envlist = py26, py27, py33, py34, py35, py36
[testenv]
deps =
pytest
commands = py.test {posargs:src/ecdsa}
[testenv:coverage]
deps =
coverage
pytest
commands = coverage run -m pytest {posargs:src/ecdsa}
[testenv:speed]
commands = {envpython} speed.py
[testenv:codechecks]
basepython = python3.6
deps =
pyflakes
flake8
commands =
flake8 setup.py speed.py src
[flake8]
exclude = src/ecdsa/test*.py
# We're just getting started. For now, ignore the following problems:
# E111: indentation is not a multiple of four
# E114: indentation is not a multiple of four (comment)
# E226: missing whitespace around arithmetic operator
# E231: missing whitespace after ','
# E266: too many leading '#' for block comment
# E302: expected 2 blank lines, found 1
# E305: expected 2 blank lines after class or function definition, found 1
# E501: line too long
# E502: the backslash is redundant between brackets
# W391: blank line at end of file
ignore = E111,E114,E226,E231,E266,E302,E305,E501,E502,W391