[mypy] Fixes typing errors in other/dpll (#5759)
+ As per usage examples, clause literals are a list of strings. + Note: symbols extracted from literals are expected to be exactly two characters. + self.literal boolean values are initialized to None, so must be optional + model values should be Booleans, but aren't guaranteed to be non-None in the code. + uses newer '... | None' annotation for Optional values + clauses are passed to the Formula initializer as both lists and sets, they are stored as lists. Returned clauses will always be lists. + use explicit tuple annotation from __future__ rather than using (..., ...) in return signatures + mapping returned by dpll_algorithm is optional per the documentation.
A
Andrew Grangaard committed
7954a3ae166db66ae6a43043c76417dda688a8e5
Parent: 765be45
Committed by GitHub <noreply@github.com>
on 11/3/2021, 8:32:49 PM