.coveragerc 645 Bytes
Newer Older
1
2
3
[run]

# tasks that aren't wired up.
bzantium's avatar
bzantium committed
4
omit =
5
6
7
8
9
    lm_eval/tasks/quac.py
    lm_eval/tasks/storycloze.py
    lm_eval/tasks/cbt.py
    lm_eval/tasks/sat.py
    lm_eval/tasks/triviaqa.py
Leo Gao's avatar
Leo Gao committed
10
    lm_eval/tasks/naturalqs.py
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    lm_eval/models/dummy.py

[report]
exclude_lines =
    # Skip any pass lines such as may be used for @abstractmethod
    pass

    # Have to re-enable the standard pragma
    pragma: no cover

    # Don't complain about missing debug-only code:
    def __repr__
    if self\.debug

    # Don't complain if tests don't hit defensive assertion code:
    raise AssertionError
    raise NotImplementedError
bzantium's avatar
bzantium committed
28
    return NotImplemented