Files @ 7d5dfe117d0f
Branch filter:

Location: kallithea/pytest.ini - annotation

mads
summary: use calendar.monthrange instead of internal calendar.mday

Fix pytype warning:
No attribute 'mdays' on module 'calendar' [module-attr]

This also takes care of handling leap-years correctly. Not that it matters, but
very nice ...
[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