-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.cfg
91 lines (82 loc) · 2.11 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[bdist_wheel]
universal = 1
[flake8]
per-file-ignores = __init__.py:F401
max-line-length = 79
exclude = .tox,.eggs,ci/templates,build,dist,__init__
ignore = E203, W503
[tool:pytest]
# If a pytest section is found in one of the possible config files
# (pytest.ini, tox.ini or setup.cfg), then pytest will not look for any others,
# so if you add a pytest config section elsewhere,
# you will need to delete this section from setup.cfg.
norecursedirs =
.git
.tox
.env
dist
build
migrations
examples
python_files =
test_*.py
*_test.py
tests.py
addopts =
-ra
--strict
--ignore=docs/conf.py
--ignore=setup.py
--ignore=check_examples.py
--ignore=ci
--ignore=.eggs
--doctest-modules
--doctest-glob=\*.rst
--tb=short
testpaths =
src
tests
[tool:isort]
profile = black
force_single_line = False
line_length = 79
known_first_party = deflex
default_section = THIRDPARTY
forced_separate = test_deflex
skip = .tox,.eggs,ci/templates,build,dist
multi_line_output = 3
include_trailing_comma = True
use_parentheses = True
[matrix]
# This is the configuration for the `./bootstrap.py` script.
# It generates `.travis.yml`, `tox.ini` and `.appveyor.yml`.
#
# Syntax: [alias:] value [!variable[glob]] [&variable[glob]]
#
# alias:
# - is used to generate the tox environment
# - it's optional
# - if not present the alias will be computed from the `value`
# value:
# - a value of "-" means empty
# !variable[glob]:
# - exclude the combination of the current `value` with
# any value matching the `glob` in `variable`
# - can use as many you want
# &variable[glob]:
# - only include the combination of the current `value`
# when there's a value matching `glob` in `variable`
# - can use as many you want
python_versions =
py37
py39
dependencies =
# 1.4: Django==1.4.16 !python_versions[py3*]
# 1.5: Django==1.5.11
# 1.6: Django==1.6.8
# 1.7: Django==1.7.1 !python_versions[py26]
# Deps commented above are provided as examples. That's what you would use in a Django project.
coverage_flags =
cover: true
nocov: false
environment_variables =