From cd3daf75256e313347cfb53ebd32bdd6ba9bd987 Mon Sep 17 00:00:00 2001 From: Correl Date: Wed, 21 Feb 2024 17:57:20 -0500 Subject: [PATCH] Format code with black --- tests/test_tutor.py | 2 +- tutor/__init__.py | 2 +- tutor/models.py | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_tutor.py b/tests/test_tutor.py index dae71a9..5ab0844 100644 --- a/tests/test_tutor.py +++ b/tests/test_tutor.py @@ -2,4 +2,4 @@ from tutor import __version__ def test_version(): - assert __version__ == '0.1.0' + assert __version__ == "0.1.0" diff --git a/tutor/__init__.py b/tutor/__init__.py index b794fd4..3dc1f76 100644 --- a/tutor/__init__.py +++ b/tutor/__init__.py @@ -1 +1 @@ -__version__ = '0.1.0' +__version__ = "0.1.0" diff --git a/tutor/models.py b/tutor/models.py index 8a63d00..e4b40e2 100644 --- a/tutor/models.py +++ b/tutor/models.py @@ -109,7 +109,9 @@ class CardCopy: language: str = "English" collection: str = "Default" condition: typing.Optional[str] = None - created_date: datetime.datetime = dataclasses.field(default_factory=datetime.datetime.now) + created_date: datetime.datetime = dataclasses.field( + default_factory=datetime.datetime.now + ) @dataclasses.dataclass