-
Notifications
You must be signed in to change notification settings - Fork 97
/
setup.cfg
75 lines (63 loc) · 1.19 KB
/
setup.cfg
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[bdist_wheel]
universal = 1
[metadata]
description-file = README.md
license_file = LICENSE.txt
[aliases]
test = pytest
[pylama]
linters = pycodestyle,pyflakes,mccabe
ignore = E122,E127,E128,E131,W191,E501,C0111,C0301,W191,C901
skip =
build/*,
dist/*,
docs/*,
*/manage.py,
*migrations*,
venv/*
[pep8]
ignore = C0111,C0301,E122,E127,E128,E131,E501,E502,E722,E731,W605
[mypy]
ignore_missing_imports = True
[mypy-djangosaml2idp.migrations.*]
ignore_errors = True
[tool:pytest]
addopts =
-rX
--cov=djangosaml2idp
--cov-report=term-missing
--cov-report=xml:cov.xml
django_find_project = false
norecursedirs = env
testpaths = tests/
python_paths = .
DJANGO_SETTINGS_MODULE = tests.settings
[coverage:run]
omit =
*/migrations/*
[tox:tox]
envlist =
py{3.6,3.7,3.8,3.9}-django{2.2,3.0,3.1}
format
typing
[testenv]
extras = testing
deps =
django2.2: django~=2.2
django3.0: django~=3.0
commands =
pip list
python setup.py test
[testenv:format]
skipsdist = True
deps = pylama
commands = pylama djangosaml2idp
[testenv:typing]
ignore_outcome = True
skipsdist = True
deps =
mypy
django-stubs
commands =
pip list
mypy djangosaml2idp