def open(self):
    self.stats = self.linter.add_stats(badname_module=0, badname_class=0, badname_function=0, badname_method=0, badname_attr=0, badname_const=0, badname_variable=0, badname_inlinevar=0, badname_argument=0, badname_class_attribute=0, badname_class_const=0)
    for group in self.config.name_group:
        for name_type in group.split(':'):
            self._name_group[name_type] = f'group_{group}'
    (regexps, hints) = self._create_naming_rules()
    self._name_regexps = regexps
    self._name_hints = hints
    self._good_names_rgxs_compiled = [re.compile(rgxp) for rgxp in self.config.good_names_rgxs]
    self._bad_names_rgxs_compiled = [re.compile(rgxp) for rgxp in self.config.bad_names_rgxs]
def open(self):
    self.stats = self.linter.add_stats(badname_module=0, badname_class=0, badname_function=0, badname_method=0, badname_attr=0, badname_const=0, badname_variable=0, badname_inlinevar=0, badname_argument=0, badname_class_attribute=0, badname_class_const=0)
    for group in self.config.name_group:
        for name_type in group.split(':'):
            self._name_group[name_type] = f'group_{group}'
    (regexps, hints) = self._create_naming_rules()
    self._name_regexps = regexps
    self._name_hints = hints
    self._good_names_rgxs_compiled = [re.compile(rgxp) for rgxp in self.config.good_names_rgxs]
    self._bad_names_rgxs_compiled = [re.compile(rgxp) for rgxp in self.config.bad_names_rgxs]