Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the incorrect Optional from FormatChecker's formats annotation.
See https://docs.python.org/3/library/typing.html#typing.Optional. This is meant to be used only if None is a specifically allowed value, where here it is not, it's an internal sentinel, not part of its public API, which only allows iterables.
- Loading branch information