Skip to content

Commit cd4dfa8

Browse files
Fix some typos in comments
1 parent fb80261 commit cd4dfa8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

graphene_django/filter/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Meta:
4444
"name": ["exact", "contains"],
4545
}
4646

47-
# Those are actually usable with our Query fixture bellow
47+
# Those are actually usable with our Query fixture below
4848
tags__contains = ArrayFilter(field_name="tags", lookup_expr="contains")
4949
tags__overlap = ArrayFilter(field_name="tags", lookup_expr="overlap")
5050
tags = ArrayFilter(field_name="tags", lookup_expr="exact")

graphene_django/filter/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def get_filtering_args_from_filterset(filterset_class, type):
4343
isinstance(filter_field, TypedFilter)
4444
and filter_field.input_type is not None
4545
):
46-
# First check if the filter input type has been explicitely given
46+
# First check if the filter input type has been explicitly given
4747
field_type = filter_field.input_type
4848
else:
4949
if name not in filterset_class.declared_filters or isinstance(

graphene_django/forms/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from graphene.utils.str_converters import to_camel_case
55

66
from ..converter import BlankValueField
7-
from ..types import ErrorType # noqa Import ErrorType for backwards compatability
7+
from ..types import ErrorType # noqa Import ErrorType for backwards compatibility
88
from .mutation import fields_for_form
99

1010

@@ -60,7 +60,7 @@ def mutate(_root, _info, data):
6060
and isinstance(object_type._meta.fields[name], BlankValueField)
6161
):
6262
# Field type BlankValueField here means that field
63-
# with choises have been converted to enum
63+
# with choices have been converted to enum
6464
# (BlankValueField is using only for that task ?)
6565
setattr(cls, name, cls.get_enum_cnv_cls_instance(name, object_type))
6666
elif (

graphene_django/tests/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Meta:
9797

9898
class APNewsReporter(Reporter):
9999
"""
100-
This class only inherits from Reporter for testing multi table inheritence
100+
This class only inherits from Reporter for testing multi table inheritance
101101
similar to what you'd see in django-polymorphic
102102
"""
103103

0 commit comments

Comments
 (0)