Path 1: 16 calls (0.76)

'invalid-name' (4) 'unused-argument' (2) 'unused-variable' (2) 'line-too-long' (2) 'fixme' (2) 'f-string-without-interpolation' (1) 'unused-import' (1...

'module' (16)

3 (2) 8 (2) 13 (2) 70 (2) 24 (1) 2 (1) 28 (1) 36 (1) 35 (1) 94 (1)

False (16)

1def disable_next(
2        self,
3        msgid: str,
4        _: str = "package",
5        line: int | None = None,
6        ignore_unknown: bool = False,
7    ) -> None:
8        """Disable a message for the next line."""
9        if not line:
10            raise exceptions.NoLineSuppliedError
11        self._set_msg_status(
12            msgid,
13            enable=False,
14            scope="line",
15            line=line + 1,
16            ignore_unknown=ignore_unknown,
17        )
18        self._register_by_id_managed_msg(msgid, line + 1)
            

Path 2: 5 calls (0.24)

'R78948' (1) 'deprecated-types-field' (1) 'W1634' (1) 'no-self-use' (1) 'R0201' (1)

'module' (5)

14 (1) 16 (1) 18 (1) 20 (1) 22 (1)

False (5)

DeletedMessageError (2) MessageBecameExtensionError (2) UnknownMessageError (1)

1def disable_next(
2        self,
3        msgid: str,
4        _: str = "package",
5        line: int | None = None,
6        ignore_unknown: bool = False,
7    ) -> None:
8        """Disable a message for the next line."""
9        if not line:
10            raise exceptions.NoLineSuppliedError
11        self._set_msg_status(
12            msgid,
13            enable=False,
14            scope="line",
15            line=line + 1,
16            ignore_unknown=ignore_unknown,
17        )
18        self._register_by_id_managed_msg(msgid, line + 1)