"""Family module for Wikivoyage."""
#
# (C) Pywikibot team, 2012-2016
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, unicode_literals

__version__ = '$Id$'

# The new wikivoyage family that is hosted at wikimedia

from pywikibot import family


class Family(family.SubdomainFamily, family.WikimediaFamily):

    """Family class for Wikivoyage."""

    name = 'wikivoyage'

    def __init__(self):
        """Constructor."""
        self.languages_by_size = [
            'en', 'de', 'fa', 'it', 'fr', 'ru', 'pl', 'nl', 'pt', 'es', 'he',
            'zh', 'vi', 'sv', 'el', 'ro', 'uk',
        ]

        super(Family, self).__init__()

        # Global bot allowed languages on
        # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementation
        self.cross_allowed = ['es', 'ru', ]

"""Family module for Wikivoyage."""
#
# (C) Pywikibot team, 2012-2016
#
# Distributed under the terms of the MIT license.
#
# The new wikivoyage family that is hosted at wikimedia
from __future__ import absolute_import, unicode_literals

from pywikibot import family

__version__ = '$Id$'


class Family(family.SubdomainFamily, family.WikimediaFamily):

    """Family class for Wikivoyage."""

    name = 'wikivoyage'

    def __init__(self):
        """Constructor."""
        self.languages_by_size = [
            'en', 'de', 'fa', 'it', 'fr', 'ru', 'pl', 'nl', 'pt', 'fi', 'es',
            'zh', 'he', 'vi', 'sv', 'el', 'ro', 'uk',
        ]

        super(Family, self).__init__()

        # Global bot allowed languages on
        # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementation
        self.cross_allowed = ['es', 'ru', ]

Add fi:wikivoyage and sort by current article count
Add fi:wikivoyage and sort by current article count

Fix also pycodestyle (former PEP8) E402 problem

Bug: T153470
Change-Id: Id9bc980c7a9cfb21063597a3d5eae11c31d8040c

  """Family module for Wikivoyage."""
  #
  # (C) Pywikibot team, 2012-2016
  #
  # Distributed under the terms of the MIT license.
  #
+ # The new wikivoyage family that is hosted at wikimedia
  from __future__ import absolute_import, unicode_literals
  
+ from pywikibot import family
+ 
  __version__ = '$Id$'
- 
- # The new wikivoyage family that is hosted at wikimedia
- 
- from pywikibot import family
  
  
  class Family(family.SubdomainFamily, family.WikimediaFamily):
  
      """Family class for Wikivoyage."""
  
      name = 'wikivoyage'
  
      def __init__(self):
          """Constructor."""
          self.languages_by_size = [
-             'en', 'de', 'fa', 'it', 'fr', 'ru', 'pl', 'nl', 'pt', 'es', 'he',
+             'en', 'de', 'fa', 'it', 'fr', 'ru', 'pl', 'nl', 'pt', 'fi', 'es',
-             'zh', 'vi', 'sv', 'el', 'ro', 'uk',
+             'zh', 'he', 'vi', 'sv', 'el', 'ro', 'uk',
          ]
  
          super(Family, self).__init__()
  
          # Global bot allowed languages on
          # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementation
          self.cross_allowed = ['es', 'ru', ]
  
Add fi:wikivoyage and sort by current article count
## Code Before:
"""Family module for Wikivoyage."""
#
# (C) Pywikibot team, 2012-2016
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, unicode_literals

__version__ = '$Id$'

# The new wikivoyage family that is hosted at wikimedia

from pywikibot import family


class Family(family.SubdomainFamily, family.WikimediaFamily):

    """Family class for Wikivoyage."""

    name = 'wikivoyage'

    def __init__(self):
        """Constructor."""
        self.languages_by_size = [
            'en', 'de', 'fa', 'it', 'fr', 'ru', 'pl', 'nl', 'pt', 'es', 'he',
            'zh', 'vi', 'sv', 'el', 'ro', 'uk',
        ]

        super(Family, self).__init__()

        # Global bot allowed languages on
        # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementation
        self.cross_allowed = ['es', 'ru', ]

## Instruction:
Add fi:wikivoyage and sort by current article count
## Code After:
"""Family module for Wikivoyage."""
#
# (C) Pywikibot team, 2012-2016
#
# Distributed under the terms of the MIT license.
#
# The new wikivoyage family that is hosted at wikimedia
from __future__ import absolute_import, unicode_literals

from pywikibot import family

__version__ = '$Id$'


class Family(family.SubdomainFamily, family.WikimediaFamily):

    """Family class for Wikivoyage."""

    name = 'wikivoyage'

    def __init__(self):
        """Constructor."""
        self.languages_by_size = [
            'en', 'de', 'fa', 'it', 'fr', 'ru', 'pl', 'nl', 'pt', 'fi', 'es',
            'zh', 'he', 'vi', 'sv', 'el', 'ro', 'uk',
        ]

        super(Family, self).__init__()

        # Global bot allowed languages on
        # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementation
        self.cross_allowed = ['es', 'ru', ]
