Skip to content
Snippets Groups Projects
interface.py 469 B
Newer Older
Michał Pogoda's avatar
Michał Pogoda committed
from typing import List, Tuple, Any

class Suppressor:
    def suppress(self, annotations: List[Tuple[int, int, Any]]) -> List[Tuple[int, int, Any]]:
        """Suppresses annotations on overlappment.

        Args:
            annotations (List[Tuple[int, int, Any]]): List of annotations.

        Returns:
            List[Tuple[int, int, Any]]: List of annotations with overlapping
                annotations removed.

        """
        raise NotImplementedError