tox.ini

Sun, 29 Mar 2020 06:04:36 +0000

author
Nsukami Patrick <ptrck at nskm dot xyz>
date
Sun, 29 Mar 2020 06:04:36 +0000
changeset 106
b315b6313793
parent 95
5d68eef8edf2
permissions
-rw-r--r--

[flake8] fix F401 imported but unused

95
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
1 [tox]
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
2 envlist = py3,flake8,check-manifest
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
3
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
4 [testenv]
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
5 deps =
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
6 pytest
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
7 commands =
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
8 {envpython} -m pytest {posargs:test}
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
9
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
10 [testenv:flake8]
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
11 basepython = python3
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
12 skip_install = true
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
13 deps =
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
14 flake8
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
15 commands = flake8
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
16
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
17 [testenv:check-manifest]
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
18 skip_install = true
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
19 deps =
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
20 check-manifest
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
21 commands =
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
22 {envpython} -m check_manifest {toxinidir}
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
23
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
24 [flake8]
106
b315b6313793 [flake8] fix F401 imported but unused
Nsukami Patrick <ptrck at nskm dot xyz>
parents: 95
diff changeset
25 max-line-length = 120
95
5d68eef8edf2 [new style] Update cube to use new style
Nsukami Patrick <ptrck at nskm dot xyz>
parents:
diff changeset
26 exclude = cubicweb_mailinglist/migration/*,test/data/*,.tox/*

mercurial