forked from gnome-keysign/gnome-keysign
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (23 loc) · 719 Bytes
/
tox.ini
File metadata and controls
29 lines (23 loc) · 719 Bytes
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
[tox]
# I don't seem to be able to say "python 2" and "python 3", only.
skip_missing_interpreters = true
envlist = py26,py27,py32,py35,flake8
#deps =
# -rrequirements.txt
[testenv]
deps =
nose
coverage
commands=nosetests -v --with-coverage --cover-html --cover-erase --cover-branch --cover-package=keysign --cover-min-percentage=75
#install_command = pip install -U {opts} {packages}
[flake8]
ignore = E302,E303,W293,E226,E305,E266
max-line-length = 160
exclude = tests/*
max-complexity = 10
# Settings specific to the flake8 environment
[testenv:flake8]
# The command to run:
commands = flake8 keysign
# We only need flake8 when linting, we do not care about the project dependencies
deps = flake8