Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Dec 11, 2024
1 parent 524295c commit 5c8ccf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aind_data_schema/core/quality_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class QCEvaluation(AindModel):
),
)
latest_status: Status = Field(default=None, title="Evaluation status")
created: AwareDatetimeWithDefault = Field(default_factory=lambda: datetime.now(tz=timezone.utc), title="Evaluation creation date")
created: AwareDatetimeWithDefault = Field(
default_factory=lambda: datetime.now(tz=timezone.utc), title="Evaluation creation date"
)

def status(self, date: datetime = datetime.now(tz=timezone.utc)) -> Status:
"""DEPRECATED
Expand Down
1 change: 1 addition & 0 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def test_ccf_validator(self):

class StructureModel(AindModel):
"""Test model with a targeted_structure"""

targeted_structure: CCFStructure.ONE_OF

self.assertRaises(ValueError, StructureModel, targeted_structure="invalid")
Expand Down

0 comments on commit 5c8ccf0

Please sign in to comment.