epenet
367521e369
Adjust pylint plugin to enforce device_tracker type hints ( #64903 )
...
* Adjust pylint plugin to enforce device_tracker type hints
* Use a constant for the type hint matchers
* Add tests
* Add x_of_y match
* Adjust bluetooth_tracker
* Adjust mysensors
* Adjust tile
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 18:21:59 +01:00
epenet
78e92d1662
Adjust pylint plugin to enforce platform type hints ( #64836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
epenet
11fa86cc83
Add pylint plugin to enforce type hints ( #64313 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 13:38:56 +01:00
Ruslan Sayfutdinov
55f4962c06
Fix pylint plugin which checks relative imports ( #62693 )
2021-12-23 11:14:47 -08:00
Ruslan Sayfutdinov
016abda12e
Pylint plugin to check that relative imports are used ( #50937 )
...
* Pylint plugin to check that relative imports are used
* Fix existing sites
* Update description message
* Fix typo
2021-05-22 09:15:30 +01:00
Ruslan Sayfutdinov
0e7409e617
Pylint plugin to check __init__ return type ( #50868 )
...
* Pylint plugin to check __init__ return type
* Support *args add **kwargs, type hints
* Use 'in' instead of 'any()'
* Fix last few places
2021-05-20 18:00:10 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00