Switch to tomllib/tomli to support heterogeneous arrays (Sebastian Csar, #340). Bump flake8, flake8-comprehensions and flake8-bugbear (Sebastian Csar, #341). Provide whitelist parity for MagicMock and Mock (maxrake, #342).