2018-07-14 10:36:49 +00:00
|
|
|
[tool:pytest]
|
|
|
|
testpaths = tests
|
2019-02-15 10:02:17 +00:00
|
|
|
addopts = --tb=native
|
2019-05-08 11:57:17 +00:00
|
|
|
xfail_strict=true
|
|
|
|
|
|
|
|
;By default, pytest searches for tests within classes named Test*.
|
|
|
|
;Turn that off.
|
|
|
|
python_classes =
|
2018-07-14 10:36:49 +00:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
branch = True
|
|
|
|
source =
|
2018-12-20 10:31:55 +00:00
|
|
|
corrscope
|
2019-01-26 06:50:19 +00:00
|
|
|
|
|
|
|
[mypy-corrscope.utils.scipy.*]
|
|
|
|
ignore_errors = True
|
|
|
|
|
|
|
|
[mypy]
|
|
|
|
;Pretty-print
|
|
|
|
show_error_context = True
|
|
|
|
|
|
|
|
;Config
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
;https://github.com/python/mypy/blob/master/mypy_self_check.ini
|
|
|
|
check_untyped_defs = True
|
|
|
|
warn_no_return = True
|
|
|
|
strict_optional = True
|
|
|
|
no_implicit_optional = True
|
|
|
|
disallow_any_generics = True
|
|
|
|
warn_redundant_casts = True
|
|
|
|
warn_unused_configs = True
|
|
|
|
show_traceback = True
|
|
|
|
|