Format code with black

This commit is contained in:
Correl Roush 2024-02-21 17:57:20 -05:00
parent 2666d80f92
commit cd3daf7525
3 changed files with 5 additions and 3 deletions

View file

@ -2,4 +2,4 @@ from tutor import __version__
def test_version(): def test_version():
assert __version__ == '0.1.0' assert __version__ == "0.1.0"

View file

@ -1 +1 @@
__version__ = '0.1.0' __version__ = "0.1.0"

View file

@ -109,7 +109,9 @@ class CardCopy:
language: str = "English" language: str = "English"
collection: str = "Default" collection: str = "Default"
condition: typing.Optional[str] = None 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 @dataclasses.dataclass