Skip to content

Commit

Permalink
Move ES into separate module
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
  • Loading branch information
lauft committed Nov 21, 2023
1 parent c27eb56 commit 5537a6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
from dateutil.easter import EASTER_WESTERN

from .holidays import Country
from holidata.holidays.holidays import Country

__all__ = [
"ES",
"es-ES",
]


class ES(Country):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from dateutil.easter import EASTER_WESTERN

from holidata.utils import SmartDayArrow, easter
from .holidays import Locale, Holiday
from holidata.holidays.holidays import Locale, Holiday

"""
Information taken from government websites around 2020-06
Expand Down
3 changes: 1 addition & 2 deletions src/holidata/holidays/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .ES import *
from .holidays import Locale, Country

__all__ = [
Expand All @@ -13,7 +14,6 @@
"DE",
"DK",
"EE",
"ES",
"FI",
"FI",
"FR",
Expand Down Expand Up @@ -49,7 +49,6 @@
"en-US",
"en-ZA",
"es-CO",
"es-ES",
"es-US",
"et-EE",
"fi-FI",
Expand Down

0 comments on commit 5537a6d

Please sign in to comment.