File: hookspecs.py

package info (click to toggle)
diff-cover 10.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,252 kB
  • sloc: python: 6,425; xml: 218; cpp: 18; sh: 12; makefile: 10
file content (12 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
import pluggy

hookspec = pluggy.HookspecMarker("diff_cover")


@hookspec
def diff_cover_report_quality():
    """
    Return a 2-part tuple:
    - Quality plugin name
    - Object that implements the BaseViolationReporter protocol
    """