diff --git a/ariadne_codegen/contrib/client_forward_refs.py b/ariadne_codegen/contrib/client_forward_refs.py index 009d84a2..49020133 100644 --- a/ariadne_codegen/contrib/client_forward_refs.py +++ b/ariadne_codegen/contrib/client_forward_refs.py @@ -271,7 +271,7 @@ def _update_imports(self, module: ast.Module) -> None: return_types_not_used_as_input = set(self.input_and_return_types) # The ones we import in the method don't need to be imported at all - - # unless that's the type we return. This behaviour can differ if you use + # unless that's the type we return. This behavior can differ if you use # a plugin such as `ShorterResultsPlugin` that will import a type that # is different from the type returned. return_types_not_used_as_input |= ( diff --git a/tests/main/graphql_schemas/all_types/expected_schema.py b/tests/main/graphql_schemas/all_types/expected_schema.py index cccf8a03..75668117 100644 --- a/tests/main/graphql_schemas/all_types/expected_schema.py +++ b/tests/main/graphql_schemas/all_types/expected_schema.py @@ -214,14 +214,14 @@ ), GraphQLDirective( name="specifiedBy", - description="Exposes a URL that specifies the behaviour of this scalar.", + description="Exposes a URL that specifies the behavior of this scalar.", is_repeatable=False, locations=(DirectiveLocation.SCALAR,), args={ "url": GraphQLArgument( GraphQLNonNull(GraphQLString), default_value=Undefined, - description="The URL that specifies the behaviour of this scalar.", + description="The URL that specifies the behavior of this scalar.", deprecation_reason=None, ) }, diff --git a/tests/main/graphql_schemas/example/expected_schema.py b/tests/main/graphql_schemas/example/expected_schema.py index 53cab3c4..3642ad83 100644 --- a/tests/main/graphql_schemas/example/expected_schema.py +++ b/tests/main/graphql_schemas/example/expected_schema.py @@ -355,14 +355,14 @@ ), GraphQLDirective( name="specifiedBy", - description="Exposes a URL that specifies the behaviour of this scalar.", + description="Exposes a URL that specifies the behavior of this scalar.", is_repeatable=False, locations=(DirectiveLocation.SCALAR,), args={ "url": GraphQLArgument( GraphQLNonNull(GraphQLString), default_value=Undefined, - description="The URL that specifies the behaviour of this scalar.", + description="The URL that specifies the behavior of this scalar.", deprecation_reason=None, ) },