Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Ville Skyttä
2f7b79764a
More pylint 2 fixes ( #15565 )
...
## Description:
More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).
## Checklist:
- [ ] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Ville Skyttä
b92350fb55
Lint cleanup ( #15103 )
...
* Remove unneeded inline pylint disables
* Remove unneeded noqa's
* Use symbol names instead of message ids in inline pylint disables
2018-06-25 13:05:07 -04:00
William Scanlon
5236b720ab
Catch everything when calling to OctoPrint API to fix #10557 ( #11457 )
2018-01-05 18:07:09 +01:00
Mike Megally
a59b02b6b4
Removed error log used as debug ( #11301 )
...
An error was being logged to display debug info. Removed it
2017-12-25 20:49:02 +01:00
Fabian Affolter
de9d19d6f4
Use constants for HTTP headers ( #10313 )
...
* Use constants for HTTP headers
* Fix ordering
* Move 'no-cache' to platform
2017-11-04 12:04:05 -07:00
William Scanlon
06a20d0d15
Fix octoprint errors when printer is off/disconnected ( #8988 )
...
* Fix octoprint errors when printer is off/disconnected
2017-08-22 09:37:06 -04:00
William Scanlon
652c006cbc
Prevent errors on Octoprint sensors and binary_sensors when Octoprint and/or Printer are off ( #8343 )
...
* Added platformnotready
* Only log the first failure if octoprint/printer isn't up
Remove blank line
2017-07-06 22:39:11 -07:00
Paulus Schoutsen
5779d64e98
Fix some issues for PyLint 1.7.2 ( #8356 )
...
* Fix some issues for PyLint 1.7.2
* More fixes
* Revert position change for cover
2017-07-05 20:02:16 -07:00
William Scanlon
8d50045971
Suppress logs when octorpint goes offline ( #7441 )
...
* Suppress logs when octorpint goes offline
* Fixed line length
2017-05-04 13:13:09 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
William Scanlon
53d1a040d4
Stop Octoprint from logging errors during startup ( #4220 )
...
* Fix log errors
* Remove discovery code
2016-11-05 07:55:59 -07:00
Fabian Affolter
6a84b82663
Use voluptuous for Octoprint ( #3111 )
...
* Migrate to voluptuous
* Fix pylint issues
2016-09-02 12:26:23 +02:00
Paulus Schoutsen
30f74bb3ca
Migrate to generic discovery method ( #2271 )
...
* Migrate to generic discovery method
* Add tests for discovery
2016-06-11 17:43:13 -07:00
Fabian Affolter
98bedf1bd6
Update links to docs and doc strings ( #1994 )
2016-05-06 18:03:18 -07:00
William Scanlon
6d9254ce25
Support for OctoPrint sensors ( #1924 )
2016-05-03 18:35:11 -07:00