-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
36 lines (31 loc) · 994 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
[aliases]
test = pytest
[tool:pytest]
# disable-pytest-warnings should be removed once we rewrite tests
# using yield with parametrize
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
addopts =
--ignore build_tools
--ignore benchmarks
--ignore doc
--ignore examples
--ignore maint_tools
--doctest-modules
--disable-pytest-warnings
-rxXs
filterwarnings =
ignore:the matrix subclass:PendingDeprecationWarning
markers =
fast_test: marks tests as fast (deselect with '-m "not fast_test"')
slow_test: marks tests as slow (deselect with '-m "not slow_test"')
slow: marks tests as slow (deselect with '-m "not slow"')
serial
[coverage:run]
omit = */tests/*
[flake8]
max-line-length = 100
# Default flake8 3.5 ignored flags
ignore=E121,E123,E126,E226,E24,E704,W503,W504
per-file-ignores =
# Same ignore as project-wide plus E402 (imports not at top of file)
examples/**.py: E121,E123,E126,E24,E226,E704,W503,W504, E402,E302,E305,E501