epenet
abb8c58b87
Fix consider-using-tuple pylint warnings in core tests ( #119463 )
2024-06-12 12:35:01 +02:00
epenet
98d24dd276
Improve typing for `calls` fixture in tests (m-z) ( #118350 )
...
* Improve typing for `calls` fixture in tests (m-z)
* More
* More
2024-05-29 09:30:41 +02:00
Sid
9bf87329da
Enable Ruff FLY002 rule ( #115112 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-04-12 09:04:16 +02:00
Sid
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
Sid
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Erik Montnemery
2807c9eaca
Use real devices in vacuum device trigger tests ( #102698 )
2023-10-24 22:43:34 +02:00
Erik Montnemery
e204e80528
Teach vacuum device trigger about entity registry ids ( #94989 )
2023-06-22 08:20:59 +02:00
Erik Montnemery
6183a36fce
Replace assert_lists_same with pytest_unordered in integrations t-z ( #94903 )
2023-06-20 20:23:49 +02:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ( #93568 )
...
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures ( #93519 )
2023-05-25 13:45:19 +02:00
epenet
aa50096a31
Add type hints to integration tests (part 24) ( #88307 )
2023-02-17 16:34:53 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
51a9f65a01
Clean up unnecessary registry mocks from Core tests ( #87726 )
2023-02-08 13:28:44 -06:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Ville Skyttä
ea58432721
Use DeviceAutomationType in tests/components/[s-z]* ( #62450 )
2021-12-21 11:56:00 +01:00
Erik Montnemery
225d79c216
Add 'for' to vacuum device triggers ( #48506 )
...
* Add 'for' to vacuum device triggers
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update test_device_trigger.py
* Update test_device_trigger.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-30 16:40:08 +02:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Christian Clauss
1d537ad416
Fix typo: serivce --> service ( #31217 )
2020-01-27 19:56:26 +01:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Bas Nijholt
0a4979549d
use isort to sort imports according to PEP8 for vacuum ( #29650 )
2019-12-08 22:47:01 +05:30
Paulus Schoutsen
6999a712ef
Add device triggers to vacuum ( #28548 )
...
* Add device triggers to vacuum
* Update strings
2019-11-07 13:39:35 +01:00