Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codespell part 2 - Continues #8409 #8419

Merged
merged 3 commits into from
Aug 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guides/searching-with-readthedocs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Example queries:

- https://docs.readthedocs.io/?rtd_search=reedthedcs~2
- https://docs.readthedocs.io/?rtd_search=authentation~3
- https://docs.readthedocs.io/?rtd_search=configuration~1
- https://docs.readthedocs.io/?rtd_search=configurtion~1


Build complex queries
Expand Down
2 changes: 1 addition & 1 deletion docs/webhooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ These instructions apply to any Gitea instance.
.. warning::

This isn't officially supported, but using the "GitHub webhook" is an effective workaround,
because Gitea uses the same payload as GitHub. The generic webhook is not compatibile with Gitea.
because Gitea uses the same payload as GitHub. The generic webhook is not compatible with Gitea.
See `issue #8364`_ for more details. Official support may be implemented in the future.

On Read the Docs:
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/builds/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class ExternalBuildManager(SettingsOverrideObject):
class VersionAutomationRuleManager(PolymorphicManager):

"""
Mananger for VersionAutomationRule.
Manager for VersionAutomationRule.
.. note::
Expand Down
6 changes: 3 additions & 3 deletions readthedocs/builds/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ def reset(self):
"""
Reset the build so it can be re-used when re-trying.
Dates and states are usually overriden by the build,
Dates and states are usually overridden by the build,
we care more about deleting the commands.
"""
self.state = BUILD_STATE_TRIGGERED
Expand Down Expand Up @@ -1187,7 +1187,7 @@ def move(self, steps):
)
expression = F('priority') + 1

# Put an imposible priority to avoid
# Put an impossible priority to avoid
# the unique constraint (project, priority)
# while updating.
self.priority = total + 99
Expand Down Expand Up @@ -1270,7 +1270,7 @@ def match(self, version, match_arg):
arg to avoid ReDoS.
We could use a finite state machine type of regex too,
but there isn't a stable library at the time of writting this code.
but there isn't a stable library at the time of writing this code.
"""
try:
match = regex.search(
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/doc_builder/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def load_yaml_config(version):
env_config=env_config,
)
except ConfigFileNotFound:
# Dafault to use v1 with some defaults from the web interface
# Default to use v1 with some defaults from the web interface
# if we don't find a configuration file.
config = BuildConfigV1(
env_config=env_config,
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/doc_builder/python_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def list_packages_installed(self):
'-m',
'pip',
'list',
# Inlude pre-release versions.
# Include pre-release versions.
'--pre',
]
self.build_env.run(
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# conf.py.tmpl file found in the readthedocs.org codebase:
# https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl
#
# Note: this file should't rely on extra depencies.
# Note: this file shouldn't rely on extra dependencies.

import importlib
import sys
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/rtd_tests/fixtures/spec/v2/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ mkdocs:
# Default: rtd will try to find it
configuration: path(required=False)

# Add the --strict optio to mkdocs build
# Add the --strict option to mkdocs build
# Default: false
fail_on_warning: bool(required=False)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_sort_git_master(self):

def test_sort_git_master_and_latest(self):
"""
The branch named master should havea a higher priority
The branch named master should have a higher priority
than latest, ideally users should only have one of the two activated.
"""
identifiers = ['latest', 'master', '1.0', '2.0', '1.1', '1.9', '1.10']
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/rtd_tests/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ def test_github_skip_signature_validation(self, trigger_build):
self.assertEqual(resp.status_code, 200)

def test_github_sync_on_push_event(self, trigger_build):
"""Sync if the webhook doesn't have the create/delete events, but we recieve a push event with created/deleted."""
"""Sync if the webhook doesn't have the create/delete events, but we receive a push event with created/deleted."""
integration = Integration.objects.create(
project=self.project,
integration_type=Integration.GITHUB_WEBHOOK,
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/rtd_tests/tests/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class TestNotification(Notification):
self.assertEqual(PersistentMessage.objects.count(), 0)

# We should never be adding persistent messages for anonymous users.
# Make sure message_extends sitll throws an exception here
# Make sure message_extends still throws an exception here
with self.assertRaises(NotImplementedError):
backend.send(notify)

Expand Down
8 changes: 4 additions & 4 deletions readthedocs/rtd_tests/tests/test_sync_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ def test_user_defined_stable_version_tag_with_tags(self):
self.pip.get_stable_version().identifier,
)

# There arent others stable slugs like stable_a
# There aren't others stable slugs like stable_a
other_stable = self.pip.versions.filter(
slug__startswith='stable_',
)
Expand Down Expand Up @@ -1338,7 +1338,7 @@ def test_user_defined_stable_version_branch_with_tags(self):
'origin/stable',
self.pip.get_stable_version().identifier,
)
# There arent others stable slugs like stable_a
# There aren't others stable slugs like stable_a
other_stable = self.pip.versions.filter(
slug__startswith='stable_',
)
Expand Down Expand Up @@ -1431,7 +1431,7 @@ def test_user_defined_latest_version_tag(self):
version_latest.identifier,
)

# There arent others latest slugs like latest_a
# There aren't others latest slugs like latest_a
other_latest = self.pip.versions.filter(
slug__startswith='latest_',
)
Expand Down Expand Up @@ -1484,7 +1484,7 @@ def test_user_defined_latest_version_branch(self):
version_latest.identifier,
)

# There arent others latest slugs like latest_a
# There aren't others latest slugs like latest_a
other_latest = self.pip.versions.filter(
slug__startswith='latest_',
)
Expand Down