From df5493dd2a9a884660ee2a491377237071493c76 Mon Sep 17 00:00:00 2001
From: Kian-Meng Ang
Date: Fri, 25 Nov 2022 12:30:21 +0800
Subject: [PATCH] Fix typos
Found via `codespell -S ./static -L keypair`
---
activities/models/timeline_event.py | 2 +-
docs/features.rst | 2 +-
docs/installation.rst | 2 +-
stator/graph.py | 2 +-
templates/admin/domain_delete.html | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/activities/models/timeline_event.py b/activities/models/timeline_event.py
index cf93661..e598e3f 100644
--- a/activities/models/timeline_event.py
+++ b/activities/models/timeline_event.py
@@ -9,7 +9,7 @@ class TimelineEvent(models.Model):
class Types(models.TextChoices):
post = "post"
- boost = "boost" # A boost from someone (post substitude)
+ boost = "boost" # A boost from someone (post substitute)
mentioned = "mentioned"
liked = "liked" # Someone liking one of our posts
followed = "followed"
diff --git a/docs/features.rst b/docs/features.rst
index 0cc178a..b1c7148 100644
--- a/docs/features.rst
+++ b/docs/features.rst
@@ -14,7 +14,7 @@ Currently, it supports:
* Creating and receiving likes
* Delivering mentions to those mentioned, and notifications for incoming mentions
* Following and unfollowing
-* Reciving follows and unfollows
+* Receiving follows and unfollows
* A home timeline, a local timeline, and a federated timeline
* Profile pages with bios, icons, and header images
* Searching for users by exact handle
diff --git a/docs/installation.rst b/docs/installation.rst
index debec48..9263e43 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -74,7 +74,7 @@ be provided from the first boot.
fully-qualified URL prefix that serves that directory.
* If it is set to ``gcs``, you must also provide ``TAKAHE_MEDIA_BUCKET``,
- the name of the bucket to store files in. The bucket must be publically
+ the name of the bucket to store files in. The bucket must be publicly
readable and have "uniform access control" enabled.
* If it is set to ``s3``, you must also provide ``TAKAHE_MEDIA_BUCKET``,
diff --git a/stator/graph.py b/stator/graph.py
index ef81d75..436638b 100644
--- a/stator/graph.py
+++ b/stator/graph.py
@@ -14,7 +14,7 @@ class StateGraph:
automatic_states: ClassVar[Set["State"]]
def __init_subclass__(cls) -> None:
- # Collect state memebers
+ # Collect state members
cls.states = {}
for name, value in cls.__dict__.items():
if name in ["__module__", "__doc__", "states"]:
diff --git a/templates/admin/domain_delete.html b/templates/admin/domain_delete.html
index 5d077a5..f3255eb 100644
--- a/templates/admin/domain_delete.html
+++ b/templates/admin/domain_delete.html
@@ -18,7 +18,7 @@
order to delete it.
{% else %}
- Please confirm deletion of this domain - there are no identities registed on it.
+ Please confirm deletion of this domain - there are no identities registered on it.