Fix docstrings
This commit is contained in:
parent
ade6989300
commit
5de5e22883
|
@ -1,4 +1,4 @@
|
||||||
"""Accomodation"""
|
"""Accommodation."""
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ from .types import Event
|
||||||
|
|
||||||
|
|
||||||
def get_events(filepath: str) -> list[Event]:
|
def get_events(filepath: str) -> list[Event]:
|
||||||
"""Get accomodation from YAML."""
|
"""Get accommodation from YAML."""
|
||||||
with open(filepath) as f:
|
with open(filepath) as f:
|
||||||
return [
|
return [
|
||||||
Event(
|
Event(
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
"""Calcuate the date for carnival."""
|
"""Calculate the date for carnival."""
|
||||||
|
|
||||||
from datetime import date, timedelta
|
from datetime import date, timedelta
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
"""Accomodation."""
|
"""Domain renewal dates."""
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in a new issue