File: tox.ini

package info (click to toggle)
gnome-keysign 1.3.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,460 kB
  • sloc: python: 5,143; xml: 126; makefile: 33; sh: 16
file content (29 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (2)
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 = py35,py36,py37,py38,py39,flake8

#deps =
#    -rrequirements.txt

[testenv]
deps =
    pytest
    pytest_twisted

commands=pytest

#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