From c287ac2ae6c797f4302049ea351cdce2c548fefb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:45:04 +0000 Subject: [PATCH] chore(pre-commit.ci): auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_generation/test_partial_types.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/test_generation/test_partial_types.py b/tests/test_generation/test_partial_types.py index 20b993f57..7faebf1e6 100644 --- a/tests/test_generation/test_partial_types.py +++ b/tests/test_generation/test_partial_types.py @@ -316,9 +316,13 @@ def generator() -> None: # mark: filedef User.create_partial('UserOnlyName', include={'name'}) - Post.create_partial('PostWithoutDesc', exclude=['desc']) # pyright: ignore + Post.create_partial( + 'PostWithoutDesc', exclude=['desc'] + ) # pyright: ignore Post.create_partial('PostOptionalPublished', optional=['published']) - Post.create_partial('PostRequiredDesc', required=['desc']) # pyright: ignore + Post.create_partial( + 'PostRequiredDesc', required=['desc'] + ) # pyright: ignore Post.create_partial('PostOnlyId', include={'id'}) Post.create_partial( 'PostOptionalInclude', include={'title'}, optional={'title'} @@ -339,7 +343,9 @@ def generator() -> None: # mark: filedef exclude={'bytes', 'bytes_list'}, # pyright: ignore relations={'posts': 'PostOnlyId'}, ) - User.create_partial('UserBytesList', include={'bytes', 'bytes_list'}) # pyright: ignore + User.create_partial( + 'UserBytesList', include={'bytes', 'bytes_list'} + ) # pyright: ignore testdir.make_from_function(generator, name=location) testdir.generate(SCHEMA, options)