Skip to content

Commit

Permalink
Merge pull request #67 from hf-kklein/fix-typos2
Browse files Browse the repository at this point in the history
Fix typos in `calendar.py` and `periods.py`
  • Loading branch information
mj0nez authored Jan 2, 2024
2 parents a096e4a + 660f0d9 commit db4314d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bdew_datetimes/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_bdew_calendar() -> HolidaySum:
# First we need the BDEW specific holidays.
calendar = BdewDefinedHolidays()

# the type is wrong at assignment but correct after the first loop interation
# the type is wrong at assignment but correct after the first loop iteration
result: HolidaySum = calendar # type:ignore[assignment]

# If a day is holiday in any subdivision, the holiday is valid nationwide.
Expand Down
2 changes: 1 addition & 1 deletion src/bdew_datetimes/periods.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class EndDateType(Enum):

EXCLUSIVE = 2
"""
If a constract ends with the year 2022 and the end date is denoted as "2023-01-01",
If a contract ends with the year 2022 and the end date is denoted as "2023-01-01",
then the end date is exclusive. Most end dates handled by technical systems are meant
exclusively.
"""
Expand Down

0 comments on commit db4314d

Please sign in to comment.