Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Ville Skyttä
eee9b50b70
Upgrade pylint to 2.0.1 ( #15683 )
...
* Upgrade pylint to 2.0.1
* Pylint 2 bad-whitespace fix
* Pylint 2 possibly-unused-variable fixes
* Pylint 2 try-except-raise fixes
* Disable pylint fixme for todoist for now
https://github.com/PyCQA/pylint/pull/2320
* Disable pylint 2 useless-return for now
https://github.com/PyCQA/pylint/issues/2300
* Disable pylint 2 invalid-name for type variables for now
https://github.com/PyCQA/pylint/issues/1290
* Disable pylint 2 not-an-iterable for now
https://github.com/PyCQA/pylint/issues/2311
* Pylint 2 unsubscriptable-object workarounds
* Disable intentional pylint 2 assignment-from-nones
* Disable pylint 2 unsupported-membership-test apparent false positives
* Disable pylint 2 assignment-from-no-return apparent false positives
* Disable pylint 2 comparison-with-callable false positives
https://github.com/PyCQA/pylint/issues/2306
2018-07-26 08:55:42 +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ä
4bd7a7eee3
Remove inline pylint disables for messages disabled in pylintrc ( #14978 )
2018-06-16 00:15:46 +02: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
Markus
4d19092722
pyLoad download sensor ( #10089 )
...
* Create pyload.py
* tabs and whitespaces removed
* code style fix
* code style fixes
* code style fix
* fixed standard import order
* classname fixed
* Added homeassistant/components/sensor/pyload.py
* code formatting
* implemented @fabaff recommendations
* Update pyload.py
* Use string formatting
* Make host optional
2017-11-02 22:17:44 +01:00