Browse Source

docs: Fix a few typos

There are small typos in:
- docs/installation.rst
- flaskbb/core/auth/registration.py
- flaskbb/core/tokens.py
- flaskbb/plugins/spec.py
- tests/unit/test_forum_models.py

Fixes:
- Should read `validity` rather than `validatity`.
- Should read `tracker` rather than `trakcer`.
- Should read `process` rather than `proccess`.
- Should read `immediately` rather than `immediatey`.
- Should read `address` rather than `adddress`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
Tim Gates 2 years ago
parent
commit
ec76b44088

+ 1 - 1
docs/installation.rst

@@ -260,7 +260,7 @@ or::
 
 
     flaskbb install
     flaskbb install
 
 
-During the installation process, you will be asked to provide a username, email adddress 
+During the installation process, you will be asked to provide a username, email address 
 and password for your administrator user. Using the
 and password for your administrator user. Using the
 ``make install`` command is recommended as it checks that the dependencies
 ``make install`` command is recommended as it checks that the dependencies
 are also installed.
 are also installed.

+ 1 - 1
flaskbb/core/auth/registration.py

@@ -68,7 +68,7 @@ class RegistrationFailureHandler(ABC):
 
 
 class RegistrationPostProcessor(ABC):
 class RegistrationPostProcessor(ABC):
     """
     """
-    Used to post proccess successful registrations by the time this
+    Used to post process successful registrations by the time this
     interface is called, the user has already been persisted into the
     interface is called, the user has already been persisted into the
     database.
     database.
     """
     """

+ 1 - 1
flaskbb/core/tokens.py

@@ -117,7 +117,7 @@ class TokenSerializer(ABC):
 
 
 class TokenVerifier(ABC):
 class TokenVerifier(ABC):
     """
     """
-    Used to verify the validatity of tokens post
+    Used to verify the validity of tokens post
     deserialization, such as an email matching the
     deserialization, such as an email matching the
     user id in the provided token.
     user id in the provided token.
 
 

+ 1 - 1
flaskbb/plugins/spec.py

@@ -284,7 +284,7 @@ def flaskbb_gather_registration_validators():
     :class:`~flaskbb.core.auth.registration.UserRegistrationInfo` and raises
     :class:`~flaskbb.core.auth.registration.UserRegistrationInfo` and raises
     a :class:`~flaskbb.core.exceptions.ValidationError` if the registration
     a :class:`~flaskbb.core.exceptions.ValidationError` if the registration
     is invalid or :class:`~flaskbb.core.exceptions.StopValidation` if
     is invalid or :class:`~flaskbb.core.exceptions.StopValidation` if
-    validation of the registration should end immediatey.
+    validation of the registration should end immediately.
 
 
     Example::
     Example::
 
 

+ 1 - 1
tests/unit/test_forum_models.py

@@ -579,7 +579,7 @@ def test_forumsread(topic, user):
 
 
 
 
 def test_topicsread(topic, user):
 def test_topicsread(topic, user):
-    """Tests if the topicsread trakcer can be saved/edited and deleted with the
+    """Tests if the topicsread tracker can be saved/edited and deleted with the
     implemented save and delete methods."""
     implemented save and delete methods."""
     topicsread = TopicsRead()
     topicsread = TopicsRead()
     topicsread.user_id = user.id
     topicsread.user_id = user.id