Mercurial > kallithea
view pytest.ini @ 8665:bbd96bdf8372
scm: make sure __get_repo always returns something
Avoid pytype complaint:
File ".../kallithea/model/scm.py", line 438, in get_nodes: No attribute 'scm_instance' on None [attribute-error]
In Optional[Any]
Avoid invoking __get_repo with None as parameter when creating repos.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 10 Oct 2020 13:16:59 +0200 |
parents | afa5e0bdb76f |
children |
line wrap: on
line source
[pytest] # only look for tests in kallithea/tests python_files = kallithea/tests/**/test_*.py addopts = # --verbose # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings. -rfEsxXw # Shorter scrollbacks; less stuff to scroll through --tb=short # --doctest-modules --doctest-ignore-import-errors