Skip to content

Typecheck warning #249

@DorisMai

Description

@DorisMai

There are a few categories of typecheck warning I left unaddressed by PR #234 (see logs)

  • qFit file-top suppresion: Unused blanket ty: ignore directive. I think the intension is to not edit or check qFit source code, so I left unaddressed. Though there's probably a better way of doing this?
  • Majority of warnings come from dict-invariance, where errors are like "Expected dict[str | int, str], found dict[str, str]", not sure what to do here. Changing to Mapping didn't help.
  • I am not as familiar with the models related code, so not sure about the 2 warnings related to Boltz "Expected GenerativeModelInput[BoltzConditioning] | None, found GenerativeModelInput[C@GenerativeModelInput]"

Metadata

Metadata

Assignees

Labels

engineeringTask that is best suited to software engineers, not research scientists

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions