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ä
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ä
e31dd4404e
Pylint 2 fixes ( #15487 )
...
* pylint 2 inline disable syntax fixes
* pylint 2 logging-not-lazy fixes
* pylint 2 consider-using-in fixes
* Revert pylint 2 inline disable syntax fixes addressing unused-imports
Will have a go at removing more unused imports altogether first.
2018-07-17 19:34:29 +02:00
Marcelo Moreira de Mello
a6e9dc81aa
Added support to HTTPS URLs on SynologyDSM ( #15270 )
...
* Added support to HTTPS URLs on SynologyDSM
* Bumped python-synology to 0.1.1
* Makes lint happy
* Added attribution to Synology and fixed 3rd library version
* Fixed requirements_all.txt
* Makes SynologyDSM defaults to 5001 using SSL
2018-07-04 07:46:01 +02:00
Paulus Schoutsen
3fd61d8f45
Update voluputous ( #12463 )
...
* Update voluputous
* Fix http config
* Fix optional with default=None
* Optional, default=none
* Fix defaults in voluptuous schemas
* Fix tests
* Fix update error
* Lint
2018-02-17 10:29:14 +01:00
Ville Skyttä
78a3c01f27
Flake8 35 ( #11972 )
...
* Upgrade flake8 to 3.5
* Fix flake8 bare except errors
* Make flake8 and pylint cooperate
2018-01-29 00:23:53 -08:00
Fabian Affolter
6d94c121a7
Move constant to 'const.py' ( #10249 )
2017-10-31 13:31:12 +01:00
Fabian Affolter
cd36a71f64
Do not call update() in constructor ( #8849 )
...
* Do not call update() in constructor
* Fix pylint issues
2017-08-06 10:07:05 +02:00
Paulus Schoutsen
46e030662d
Fix pylint 1.7.2 no-else-return issues ( #8361 )
...
* Fix pylint 1.7.2 no-else-return issues
* Update tomato.py
2017-07-05 23:30:01 -07:00
Fabian Affolter
b5c54864ac
Change line endings to LN ( #7660 )
2017-05-19 07:39:13 -07:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Paulus Schoutsen
02517ae5ec
Fix synologydsm ( #4895 )
2016-12-15 22:13:38 -08:00
Paulus Schoutsen
93872590b6
Fix synology dsm doing I/O inside loop ( #4699 )
2016-12-04 09:54:49 -08:00
Ferry van Zeelst
ded2ea8b19
Synology DSM sensor ( #4156 )
...
* Added Synology DSM Sensor
* Fixed balloobbot's comments
* Fixed mistake (should have run lint and flake8 before committing
* Fixed update mechanisme according to balloobs feedback
* Requesting retest as test failure isn't related to changes made
2016-11-02 21:17:29 -07:00