From 5de5e2288318a270fbb84788e56ca9394a7760bc Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 2 Jun 2024 19:04:37 +0100 Subject: [PATCH] Fix docstrings --- agenda/accommodation.py | 4 ++-- agenda/carnival.py | 2 +- agenda/domains.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/agenda/accommodation.py b/agenda/accommodation.py index f5b7e83..59eb111 100644 --- a/agenda/accommodation.py +++ b/agenda/accommodation.py @@ -1,4 +1,4 @@ -"""Accomodation""" +"""Accommodation.""" import yaml @@ -6,7 +6,7 @@ from .types import Event def get_events(filepath: str) -> list[Event]: - """Get accomodation from YAML.""" + """Get accommodation from YAML.""" with open(filepath) as f: return [ Event( diff --git a/agenda/carnival.py b/agenda/carnival.py index 41a995b..c6f429d 100644 --- a/agenda/carnival.py +++ b/agenda/carnival.py @@ -1,4 +1,4 @@ -"""Calcuate the date for carnival.""" +"""Calculate the date for carnival.""" from datetime import date, timedelta diff --git a/agenda/domains.py b/agenda/domains.py index 99c614e..89aae32 100644 --- a/agenda/domains.py +++ b/agenda/domains.py @@ -1,4 +1,4 @@ -"""Accomodation.""" +"""Domain renewal dates.""" import csv import os