Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mypy: fix type checking error (#3365)
* refactor: fix type checking error error: Argument 1 to "_answerCard" of "Reviewer" has incompatible type "int"; expected "Literal[1, 2, 3, 4]" [arg-type] * refactor: remove check that `ease` is correct number * refactor: rename variable * refactor: add type hint for generator function * refactor: revise import of `functools.partial` * refactor: invert logic of if-construct to avoid nesting. * refactor: properly check for `None` * Update qt/aqt/reviewer.py
- Loading branch information