-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
43 lines (40 loc) · 853 Bytes
/
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
[metadata]
description-file = README.rst
[aliases]
# python2.7 has upgraded unittest and it is no longer compatible with some
# of our tests, so we run all through nose
test = py.test
[tool:pytest]
# disable-pytest-warnings should be removed once we rewrite tests
# using yield with parametrize
norecursedirs =
.git
.tox
.env
venv
dist
build
south_migrations
migrations
example
python_files =
test_*.py
*_test.py
tests.py
addopts =
--doctest-modules
--disable-pytest-warnings
--ignore=setup.py
--doctest-glob=\*.rst
--ignore=.eggs
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
if 0:
if __name__ == .__main__.:
[flake8]
# Default flake8 3.5 ignored flags
ignore=E121,E123,E126,E226,E24,E704,W503,W504