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/pyproject.toml b/pyproject.toml index de4589c9..7a53997e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "click~=8.1", "graphql-core>=3.2.0,<3.3", "toml~=0.10", - "httpx~=0.23", + "httpx<=0.27.0", "pydantic>=2.0.0,<3.0.0", "black", "isort", @@ -36,12 +36,12 @@ dependencies = [ dev = [ "ariadne", "pytest", - "pylint", + "pylint==3.2.7", "mypy", "types-toml", "pytest-mock", "pytest-asyncio", - "pytest-httpx", + "pytest-httpx<=0.34.0", "freezegun", "requests-toolbelt", ] 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, ) },