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

Typo fixes #142

Merged
merged 1 commit into from
Aug 14, 2024
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
6 changes: 3 additions & 3 deletions betelgeuse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@


def validate_key_value_option(ctx, param, value):
"""Validate an option that expects key=value formated values."""
"""Validate an option that expects key=value formatted values."""
if value is None:
return
try:
Expand Down Expand Up @@ -234,12 +234,12 @@ def cli(ctx, config_module):
@cli.command('requirement')
@click.option(
'--approver',
help='Whom the requirments will be approved by.',
help='Whom the requirements will be approved by.',
multiple=True,
)
@click.option(
'--assignee',
help='Whom the requirments will be assigned to.',
help='Whom the requirements will be assigned to.',
)
@click.option('--team', help='Team owning the requirement.',)
@click.option(
Expand Down
4 changes: 2 additions & 2 deletions betelgeuse/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
#: set, otherwise it will be ``None``
self.parent_class = parent_class.name
#: If the testcase is a method then the parent ``ast.ClasDef``
#: representation of the parent calss will be set, otherwise it
#: representation of the parent class will be set, otherwise it
#: will be ``None``
self.parent_class_def = parent_class
#: If test case is a method then the parent class docstring will be
Expand Down Expand Up @@ -72,7 +72,7 @@ def __init__(
self.pkginit_def = None
self.pkginit_docstring = None
#: The dictionary that will store the field values defined for the
#: testcase. The field value resolution order is the test funtion or
#: testcase. The field value resolution order is the test function or
#: method docstring, the class docstring if it is a method, the module
#: docstring and finally the ``__init__.py`` docstring if present. The
#: first value found the search will stop.
Expand Down
4 changes: 2 additions & 2 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ does not validate the values on Polarion.
.. literalinclude:: ../betelgeuse/default_config.py
:linenos:

Rquirement objects
==================
Requirement objects
===================

.. autoclass:: betelgeuse.collector.Requirement
:members:
Expand Down
Loading