Format code with black
This commit is contained in:
parent
2666d80f92
commit
cd3daf7525
3 changed files with 5 additions and 3 deletions
|
@ -2,4 +2,4 @@ from tutor import __version__
|
||||||
|
|
||||||
|
|
||||||
def test_version():
|
def test_version():
|
||||||
assert __version__ == '0.1.0'
|
assert __version__ == "0.1.0"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.0'
|
__version__ = "0.1.0"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue