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)