-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.cfg
More file actions
26 lines (25 loc) · 1.47 KB
/
setup.cfg
File metadata and controls
26 lines (25 loc) · 1.47 KB
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
[tool:pytest]
pep8maxlinelength = 119
DJANGO_SETTINGS_MODULE = lms.envs.test
addopts = --nomigrations --reuse-db --durations=20
filterwarnings =
default
ignore::xblock.exceptions.FieldDataDeprecationWarning
ignore::pytest.PytestConfigWarning
ignore:No request passed to the backend, unable to rate-limit:UserWarning
ignore:Flags not at the start of the expression:DeprecationWarning
ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc':DeprecationWarning
ignore:invalid escape sequence:DeprecationWarning
ignore:`formatargspec` is deprecated since Python 3.5:DeprecationWarning
ignore:the imp module is deprecated in favour of importlib:DeprecationWarning
ignore:"is" with a literal:SyntaxWarning
ignore:defusedxml.lxml is no longer supported:DeprecationWarning
ignore: `np.int` is a deprecated alias for the builtin `int`.:DeprecationWarning
ignore: `np.float` is a deprecated alias for the builtin `float`.:DeprecationWarning
ignore: `np.complex` is a deprecated alias for the builtin `complex`.:DeprecationWarning
ignore: 'etree' is deprecated. Use 'xml.etree.ElementTree' instead.:DeprecationWarning
ignore: defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead.:DeprecationWarning
junit_family = xunit2
norecursedirs = .* *.egg build conf dist node_modules test_root cms/envs lms/envs
python_classes =
python_files = tests.py test_*.py tests_*.py *_tests.py __init__.py