From 3787d224a76bd0566294e968091b90d2d1c7e502 Mon Sep 17 00:00:00 2001 From: Erik Wrede Date: Sun, 27 Oct 2024 19:11:32 +0100 Subject: [PATCH] chore: lint --- graphene/types/tests/test_datetime.py | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/graphene/types/tests/test_datetime.py b/graphene/types/tests/test_datetime.py index 5d4cb604..90f7a676 100644 --- a/graphene/types/tests/test_datetime.py +++ b/graphene/types/tests/test_datetime.py @@ -226,6 +226,7 @@ def test_time_query_variable(sample_time): assert not result.errors assert result.data == {"time": isoformat} + def test_support_isoformat(): isoformat = 20111104 @@ -244,6 +245,7 @@ def test_support_isoformat(): assert not result.errors assert result.data == {"time": isoformat} + def test_bad_variables(sample_date, sample_datetime, sample_time): def _test_bad_variables(type_, input_): result = schema.execute( diff --git a/setup.py b/setup.py index b8db0e0c..1b0762bb 100644 --- a/setup.py +++ b/setup.py @@ -83,8 +83,8 @@ def run_tests(self): install_requires=[ "graphql-core>=3.1,<3.3", "graphql-relay>=3.1,<3.3", + "python-dateutil>=2.7.0,<3", "typing-extensions>=4.7.1,<5", - "python-dateutil>=2.7.0,<3" ], tests_require=tests_require, extras_require={"test": tests_require, "dev": dev_requires},