<commit_before># -*- coding: utf-8  -*-
"""Family module for Lock Wiki."""

__version__ = '$Id$'

from pywikibot import family


# The locksmithwiki family
class Family(family.Family):

    """Family class for Lock Wiki."""

    def __init__(self):
        """Constructor."""
        family.Family.__init__(self)
        self.name = 'lockwiki'
        self.langs = {
            'en': 'www.locksmithwiki.com',
        }

    def scriptpath(self, code):
        """Return the script path for this family."""
        return '/lockwiki'

    def version(self, code):
        """Return the version for this family."""
        return '1.15.1'

    def nicepath(self, code):
        """Return the nice article path for this family."""
        return "%s/" % self.path(self, code)

    def protocol(self, code):
        """Return https as the protocol for this family."""
        return "https"

    def ignore_certificate_error(self, code):
        """Ignore certificate errors."""
        return True  # has a different domain in its certificate.<commit_msg>[FIX] lockwiki family: Remove unnecessary parameter<commit_after># -*- coding: utf-8  -*-
"""Family module for Lock Wiki."""

__version__ = '$Id$'

from pywikibot import family


# The locksmithwiki family
class Family(family.Family):

    """Family class for Lock Wiki."""

    def __init__(self):
        """Constructor."""
        family.Family.__init__(self)
        self.name = 'lockwiki'
        self.langs = {
            'en': 'www.locksmithwiki.com',
        }

    def scriptpath(self, code):
        """Return the script path for this family."""
        return '/lockwiki'

    def version(self, code):
        """Return the version for this family."""
        return '1.15.1'

    def nicepath(self, code):
        """Return the nice article path for this family."""
        return "%s/" % self.path(code)

    def protocol(self, code):
        """Return https as the protocol for this family."""
        return "https"

    def ignore_certificate_error(self, code):
        """Ignore certificate errors."""
        return True  # has a different domain in its certificate.
{'fraction_non_alphanumeric': 0.13283442469597756, 'fraction_numerical': 0.004677268475210477, 'mean_word_length': 2.455573505654281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3208264', 'n_tokens_mistral': 595, 'n_tokens_neox': 573, 'n_words': 201}