Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Correct typing of SMBus.fd At initialization SMBus.fd is None making the correct typing Optional[int]. * Correct typing of SMBus.enable_pec enable_pec's enable parameter has a default value that was not captured in the typing information. * Correct typing of SMBus.force SMBus.force is never set to None unless a user manually sets it as such. Additionally, no logic checks if SMBus.force is None, only if it is True, making False and None equivalent in this case.
- Loading branch information