* Raise if scheduler interval not 'step' or 'epoch'
* Add test for unknown 'interval' value in scheduler
* Use BoringModel instead of EvalModelTemplate
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
* Fix import order
* Apply yapf in test_datamodules
* Add missing imports to test_datamodules
* Fix too long comment
* Update pytorch_lightning/trainer/optimizers.py
* Fix unused imports and exception message
* Fix failing test
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>