Marc Mueller
c9a1836d45
Update coverage to 7.3.1 ( #99805 )
2023-09-07 14:54:56 +02:00
Marc Mueller
8bfdc5d3d9
Update pytest-aiohttp to 1.0.5 ( #99744 )
2023-09-06 17:37:11 +02:00
Marc Mueller
2628a86864
Update pre-commit to 3.4.0 ( #99737 )
2023-09-06 16:58:57 +02:00
Paarth Shah
4d3b978398
Change matrix component to use matrix-nio instead of matrix_client ( #72797 )
2023-09-02 15:02:55 +02:00
Jan-Philipp Benecke
97fd73f9f7
Bump syrupy to 4.2.1 ( #99156 )
2023-08-28 23:14:07 +02:00
Marc Mueller
a776ecddb7
Update mypy to 1.5.1 ( #98554 )
2023-08-16 18:44:02 -05:00
Marc Mueller
180ff24492
Add types-beautifulsoup4 dependency ( #98377 )
2023-08-14 11:50:14 +02:00
Marc Mueller
7cf1ff887d
Update caldav to 1.3.6 ( #98371 )
2023-08-14 10:31:24 +02:00
Marc Mueller
f7d95e00f6
Update tqdm to 4.66.1 ( #98328 )
2023-08-14 10:29:26 +02:00
Marc Mueller
e25fdebda1
Add types-caldav dependency ( #98265 )
2023-08-13 11:58:55 -05:00
Marc Mueller
ee3af29701
Update coverage to 7.3.0 ( #98327 )
2023-08-13 11:58:34 -05:00
Marc Mueller
54cbc85c13
Add types-Pillow dependency ( #98266 )
2023-08-13 11:57:46 -05:00
Marc Mueller
8fbcffcf9f
Add types-psutil dependency ( #98267 )
2023-08-11 18:09:58 +02:00
Marc Mueller
2ed11d2900
Add types-xmltodict dependency ( #98268 )
2023-08-11 18:09:38 +02:00
Marc Mueller
fb66ceb302
Update mypy to 1.5.0 ( #98179 )
2023-08-11 13:13:04 +02:00
Marc Mueller
1553ff1001
Update pydantic to 1.10.12 ( #97479 )
2023-07-30 18:55:13 +02:00
Franck Nijhof
6ad34a7f76
Update pipdeptree to 2.11.0 ( #97098 )
2023-07-23 23:51:50 +02:00
Marc Mueller
da6802b009
Drop tomli ( #97064 )
2023-07-22 17:04:45 -05:00
Marc Mueller
4bc57c0466
Update coverage to 7.2.7 ( #96998 )
2023-07-22 12:39:28 +02:00
Marc Mueller
a2b18e46b9
Update respx to 0.20.2 ( #96996 )
2023-07-21 13:08:38 -04:00
Marc Mueller
6e90a75779
Update tqdm to 4.65.0 ( #96997 )
2023-07-21 13:08:24 -04:00
Marc Mueller
cd89f660d4
Update pytest-asyncio to 0.21.0 ( #96999 )
2023-07-21 13:08:05 -04:00
Marc Mueller
432ac1f313
Update pytest-sugar to 0.9.7 ( #97001 )
2023-07-21 13:07:49 -04:00
Marc Mueller
b3da2ea9a6
Update pytest-socket to 0.6.0 ( #97011 )
2023-07-21 15:29:15 +02:00
Marc Mueller
7d173bf4e5
Update pytest-cov to 4.1.0 ( #97010 )
2023-07-21 15:07:12 +02:00
Marc Mueller
878a4f1bb9
Update pytest-freezer to 0.4.8 ( #97000 )
2023-07-21 14:15:15 +02:00
Franck Nijhof
e4d65cbae1
Update syrupy to 4.0.8 ( #96990 )
2023-07-21 11:57:40 +02:00
Franck Nijhof
d36d233885
Update pipdeptree to 2.10.2 ( #96940 )
2023-07-20 16:12:14 +02:00
Franck Nijhof
93ac340d54
Update syrupy to 4.0.6 ( #96900 )
2023-07-19 14:42:24 +02:00
Franck Nijhof
ea28bd3c9c
Update pre-commit to 3.3.3 ( #96359 )
2023-07-12 00:34:45 +02:00
Franck Nijhof
05c194f36d
Upgrade pylint-per-file-ignore to v1.2.1 ( #96134 )
2023-07-11 14:29:55 -04:00
Franck Nijhof
cfe57f7e0c
Update pytest-xdist to 3.3.1 ( #96110 )
2023-07-09 13:52:45 -04:00
Marc Mueller
5bf1547ebc
Update pydantic to 1.10.11 ( #96137 )
2023-07-08 14:00:51 +02:00
Franck Nijhof
967c4d13d8
Update pipdeptree to 2.9.4 ( #96115 )
2023-07-08 09:17:58 +02:00
Marc Mueller
8ccb0c3e14
Update types packages ( #95222 )
2023-06-26 12:49:18 +02:00
Marc Mueller
408c613731
Update mypy to 1.4.1 ( #95220 )
2023-06-25 21:32:06 -05:00
Franck Nijhof
69c2ac1fac
Update requests_mock to 1.11.0 ( #94298 )
2023-06-22 09:46:03 +02:00
Marc Mueller
86792fcc2f
Update mypy to 1.4.0 ( #94987 )
2023-06-21 16:12:51 +02:00
Marc Mueller
a6a2b8d29f
Update pydantic to 1.10.9 ( #94178 )
2023-06-07 20:46:01 -04:00
Marc Mueller
4cbbfaf55a
Update pydantic to 1.10.8 ( #93772 )
2023-05-29 20:48:26 -05:00
Franck Nijhof
d2a39e0e6f
Update requests to 2.31.0 ( #93363 )
2023-05-22 20:48:56 +02:00
Marc Mueller
2b59adc955
Update mypy to 1.3.0 ( #92911 )
2023-05-11 08:38:08 +02:00
Marc Mueller
14fd5b7cda
Update pylint to 2.17.4 ( #92703 )
2023-05-06 23:21:31 +02:00
Franck Nijhof
7d518c5484
Update coverage to 7.2.4 ( #92229 )
2023-04-29 20:22:15 -04:00
Franck Nijhof
bff7119230
Update requests to 2.29.0 ( #92231 )
2023-04-29 23:44:20 +02:00
Franck Nijhof
13fc22aa3c
Update syrupy to 4.0.2 ( #92089 )
2023-04-27 01:39:49 +02:00
Marc Mueller
06520217bc
Update pylint to 2.17.2 ( #91894 )
2023-04-23 14:46:48 +02:00
Franck Nijhof
1dc0870163
Update pytest to 7.3.1 ( #91497 )
2023-04-16 12:21:10 -04:00
Franck Nijhof
02e79cf7e6
Update coverage to 7.2.3 ( #91309 )
2023-04-12 20:40:31 -04:00
Franck Nijhof
5b389a4dbc
Remove codecov from Python test requirements ( #91295 )
2023-04-12 21:32:32 +02:00
Marc Mueller
b2bcdf7c19
Update mypy to 1.2.0 ( #90947 )
...
* Update mypy to 1.2.0
* Add type ignore
2023-04-06 12:51:16 -04:00
Franck Nijhof
916b274ec8
Update pipdeptree to 2.7.0 ( #90312 )
2023-03-26 09:47:47 -10:00
Marc Mueller
d5f949f4d8
Update pydantic to 1.10.7 ( #90164 )
2023-03-23 08:42:39 -04:00
Franck Nijhof
a7a972fe96
Upgrade pytest-xdist to 3.2.1 ( #89857 )
2023-03-17 13:43:16 +01:00
epenet
b4c1c0beb7
Bump pytest-xdist to 3.2.0 ( #89501 )
2023-03-10 13:08:45 +01:00
epenet
0f15f8b84b
Bump pytest-sugar to 0.9.6 ( #89500 )
2023-03-10 12:58:29 +01:00
Marc Mueller
386533a16f
Update mypy to 1.1.1 ( #89268 )
...
* Update mypy to 1.1.1
* Update pydantic to 1.10.6
2023-03-08 22:57:54 +01:00
Marc Mueller
bfb89fd8f2
Update pylint to 2.17.0 ( #89377 )
...
* Update pylint to 2.17.0
* Remove unused pylint disable comments
2023-03-08 10:54:19 -05:00
Marc Mueller
b407227d4a
Update pylint to 2.16.4 ( #89240 )
2023-03-06 17:50:42 +01:00
Franck Nijhof
a0ff95cef8
Update pytest to 7.2.2 ( #89179 )
2023-03-05 19:47:52 -05:00
Franck Nijhof
3e1d9deb29
Update coverage to 7.2.1 ( #89196 )
2023-03-05 19:47:07 -05:00
Franck Nijhof
6511b3f355
Update pre-commit to 3.1.0 ( #88657 )
2023-02-23 10:59:47 +01:00
Franck Nijhof
564f714386
Update pipdeptree to 2.5.0 ( #88390 )
2023-02-19 18:09:26 +01:00
Marc Mueller
97d9951d8a
Update mypy to 1.0.1 ( #88361 )
2023-02-18 10:02:41 +01:00
Franck Nijhof
6891eb7ed1
Add support for snapshot testing ( #88323 )
...
* Add support for snapshot testing
* Use snapshots in Elgato diagnostics test
* Use snapshots in Elgato sensor test
* Fix flake8 warning
* Slightly improve serialized output
* Remove snapshot naming in elgato sensor tests
* Improve snapshoting of via_device_id in device registry item
* Update pylint typehints plugin for snapshot fixture typing
* Use snapshots in Elgato configflow test
* Use snapshots in Bluetooth repair issue tests
2023-02-17 16:35:55 -05:00
Marc Mueller
567c7f4f99
Update pydantic to 1.10.5 ( #88250 )
2023-02-16 14:01:59 +01:00
Franck Nijhof
b0146618cb
Update pytest-asyncio to 0.20.3 ( #87995 )
2023-02-13 12:40:19 +01:00
Marc Mueller
67499e0204
Enable pydantic mypy plugin ( #87415 )
2023-02-09 13:33:10 +01:00
Marc Mueller
4fbb14ecc7
Update mypy to 1.0.0 ( #87586 )
2023-02-07 02:31:14 +01:00
Franck Nijhof
f3e74469db
Update coverage to 7.1.0 ( #87328 )
2023-02-03 15:48:47 -05:00
Marc Mueller
07a3046d11
Update pylint to 2.16.0 ( #87083 )
2023-02-02 12:49:01 +01:00
Franck Nijhof
42c4f2f7fa
Add ability for pytest to run only on changed tests in codebase ( #86776 )
2023-01-27 10:35:18 +01:00
Franck Nijhof
14d3911bfd
Update pre-commit to 3.0.0 ( #86518 )
2023-01-24 13:09:01 +01:00
Aarni Koskela
bf41a971a2
Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) ( #86224 )
2023-01-24 12:15:16 +01:00
Franck Nijhof
5102d1a5f3
Drop Python 3.9 support ( #85456 )
2023-01-22 20:40:33 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Marc Mueller
f0ba7a3795
Update pylint to 2.15.10 ( #86167 )
2023-01-18 15:01:24 +01:00
Franck Nijhof
ce43a53585
Update pytest to 7.2.1 ( #85990 )
2023-01-16 09:48:39 +01:00
Franck Nijhof
db5edfcf64
Update coverage to 7.0.5 ( #85774 )
2023-01-12 21:40:59 +01:00
Franck Nijhof
a36709cc8d
Update coverage to 7.0.3 ( #85197 )
2023-01-05 23:54:31 +01:00
Franck Nijhof
9c36f05ac4
Update coverage to 7.0.2 ( #85020 )
2023-01-02 13:43:20 -10:00
Franck Nijhof
bfdca4b274
Update pre-commit to 2.21.0 ( #84768 )
2022-12-29 14:09:26 +01:00
Franck Nijhof
7768084655
Update coverage to 7.0.1 ( #84764 )
2022-12-29 12:24:32 +01:00
Joakim Plate
850c082649
Switch to pytest-freezer ( #84680 )
2022-12-28 15:43:03 +01:00
Marc Mueller
19acbf0d2a
Update types packages ( #84381 )
2022-12-21 19:15:55 +01:00
Erik Montnemery
1f3da9cf1a
Add aliases to entity registry items ( #84239 )
2022-12-20 12:10:46 +01:00
Franck Nijhof
952bf5497f
Update coverage to 7.0.0 ( #84237 )
2022-12-19 16:42:34 +01:00
Marc Mueller
9a97784168
Add types package for paho-mqtt ( #83599 )
2022-12-09 15:27:46 +01:00
Marc Mueller
1ca9824191
Update pylint to 2.15.8 ( #83311 )
2022-12-05 10:01:27 -05:00
Allen Porter
532ab12a48
Local calendar integration ( #79601 )
2022-11-30 21:20:21 +01:00
Marc Mueller
490aec0b11
Update pylint to 2.15.7 ( #82977 )
2022-11-30 12:20:18 +01:00
Joakim Plate
c576a68d33
Upgrade pytest-aiohttp ( #82475 )
...
* Upgrade pytest-aiohttp
* Make sure executors, tasks and timers are closed
Some test will trigger warnings on garbage collect, these warnings
spills over into next test.
Some test trigger tasks that raise errors on shutdown, these spill
over into next test.
This is to mimic older pytest-aiohttp and it's behaviour on test
cleanup.
Discussions on similar changes for pytest-aiohttp are here:
https://github.com/pytest-dev/pytest-asyncio/pull/309
* Replace loop with event_loop
* Make sure time is frozen for tests
* Make sure the ConditionType is not async
/home-assistant/homeassistant/helpers/template.py:2082: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
def wrapper(*args, **kwargs):
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
* Increase litejet press tests with a factor 10
The times are simulated anyway, and we can't stop the normal
event from occuring.
* Use async handlers for aiohttp
tests/components/motioneye/test_camera.py::test_get_still_image_from_camera
tests/components/motioneye/test_camera.py::test_get_still_image_from_camera
tests/components/motioneye/test_camera.py::test_get_stream_from_camera
tests/components/motioneye/test_camera.py::test_get_stream_from_camera
tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template
tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template
/Users/joakim/src/hass/home-assistant/venv/lib/python3.9/site-packages/aiohttp/web_urldispatcher.py:189: DeprecationWarning: Bare functions are deprecated, use async ones
warnings.warn(
* Switch to freezegun in modbus tests
The tests allowed clock to tick in between steps
* Make sure skybell object are fully mocked
Old tests would trigger attempts to post to could services:
```
DEBUG:aioskybell:HTTP post https://cloud.myskybell.com/api/v3/login/ Request with headers: {'content-type': 'application/json', 'accept': '*/*', 'x-skybell-app-id': 'd2b542c7-a7e4-4e1e-b77d-2b76911c7c46', 'x-skybell-client-id': '1f36a3c0-6dee-4997-a6db-4e1c67338e57'}
```
* Fix sorting that broke after rebase
2022-11-29 22:36:36 +01:00
uvjustin
9390359fe3
Bump httpx to 0.23.1 ( #82725 )
2022-11-26 10:04:22 -10:00
Marc Mueller
8f33ad38cf
Update pylint to 2.15.6 ( #82440 )
...
* Update pylint to 2.15.6
* Use single pylint disable
* Use implicit dict constructor
2022-11-21 08:58:45 +01:00
Marc Mueller
2ac2a288cc
Update mypy to 0.991 ( #82096 )
2022-11-14 21:16:44 +01:00
Marc Mueller
0c8eeaa643
Update mypy to 0.990 ( #81783 )
...
* Update mypy to 0.990
* Remove type ignore - overriding attr with property (13475)
* Remove type ignores - hasattr (13544)
* Adjust type ignore - assignment (13549)
* New error code - type-abstract (13785)
* Disable annotation-unchecked (13851)
2022-11-08 14:41:39 +01:00
Franck Nijhof
be68412c64
Update pytest to 7.2.0 ( #81295 )
2022-10-31 13:26:05 +01:00
Marc Mueller
7714ce7235
Update pylint to 2.15.5 ( #80759 )
2022-10-22 00:07:23 +02:00
Marc Mueller
d78c2a31a1
Update pylint to 2.15.4 ( #80612 )
2022-10-20 08:59:06 +02:00
Franck Nijhof
503b765108
Update freezegun to 1.2.2 ( #80498 )
2022-10-18 11:42:01 +03:00