Path 1: 1061 calls (0.99)

1def initialize(self) -> None:
2        """Initialize linter for linting.
3
4        This method is called before any linting is done.
5        """
6        self._ignore_paths = self.config.ignore_paths
7        # initialize msgs_state now that all messages have been registered into
8        # the store
9        for msg in self.msgs_store.messages:
10            if not msg.may_be_emitted(self.config.py_version):
11                self._msgs_state[msg.msgid] = False
            

Path 2: 8 calls (0.01)

1def initialize(self) -> None:
2        """Initialize linter for linting.
3
4        This method is called before any linting is done.
5        """
6        self._ignore_paths = self.config.ignore_paths
7        # initialize msgs_state now that all messages have been registered into
8        # the store
9        for msg in self.msgs_store.messages:
10            if not msg.may_be_emitted(self.config.py_version):
11                self._msgs_state[msg.msgid] = False