Commit graph

1381 commits

Author SHA1 Message Date
Franck Nijhof
c3a70a7ec5
Remove uamqp version constrain () 2023-02-15 15:24:58 +01:00
Franck Nijhof
9030ca05b1
Enable Ruff SIM118 () 2023-02-15 12:39:12 +01:00
Luke
bb4d6c0d2c
Rework user_input check in config flow scaffold ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-12 22:02:14 +01:00
Dustin Rodrigues
c7e9afcef8
Fix typo in requires-python hassfest error message () 2023-02-12 09:11:56 -06:00
Luke
8de321253b
Reorganize manifest scaffold ()
* reorganize manifest.json

* add iot_class to manifest
2023-02-10 07:52:00 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Marc Mueller
67499e0204
Enable pydantic mypy plugin () 2023-02-09 13:33:10 +01:00
Franck Nijhof
769e0356ad
Clean up unnecessary registry mocks from scaffolding templates () 2023-02-09 08:22:41 +01:00
Marc Mueller
18a3fe1237
Remove platformdirs constraint () 2023-02-08 15:32:03 -06:00
Erik Montnemery
0cfb937d07
Enforce sorting of manifests () 2023-02-08 21:48:58 +01:00
Marc Mueller
fb4c0b4b7a
Enable error-code redundant-self [mypy 1.0] () 2023-02-07 14:02:38 +01:00
Marc Mueller
42008c50f3
Enable error-code truthy-iterable [mypy 1.0] () 2023-02-07 11:16:22 +01:00
epenet
aa00114c2f
Add return type to async tests without arguments () 2023-02-07 10:26:56 +01:00
Marc Mueller
af59623601
Enable local_partial_types for strict typing [mypy] () 2023-02-06 20:41:39 -06:00
Paulus Schoutsen
ff6e597a63
Add Matter to supported standards for brands ()
* Add Matter standard to TP-Link

* --amend
2023-02-06 20:09:01 -05:00
Marc Mueller
e348c25e18
Pin platformdirs to resolve dependency conflict () 2023-02-06 18:58:00 -06:00
Franck Nijhof
939eef3b28
Remove translations from Core ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 () 2023-02-03 23:08:48 +01:00
Franck Nijhof
9f9873b39a
Add ability to generate development translations for all integrations () 2023-02-02 16:27:51 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 () 2023-02-02 18:35:24 +01:00
Joakim Sørensen
80ffac48a3
Revert "Mark repo as safe directory to git config ()" ()
This reverts commit dc000d2289.
2023-01-29 13:07:50 -05:00
Franck Nijhof
e738924780
Enable Ruff SIM105 ()
* Enable Ruff SIM105

* Adjust existing cases
2023-01-26 21:06:22 -05:00
Franck Nijhof
021ac84405
Add recorder platform to required test category () 2023-01-26 11:03:56 +01:00
J. Nick Koston
1d1d69ca02
Update scaffold scripts to use async_forward_entry_setups () 2023-01-25 21:26:31 +01:00
epenet
b2004e62b1
Remove ability to ignore coverage violations ()
* Remove ability to ignore coverage violations

* Adjust codecov for required platforms

* Update codecov.yml
2023-01-25 14:27:16 +01:00
Aarni Koskela
bf41a971a2
Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) () 2023-01-24 12:15:16 +01:00
epenet
15ab04f97d
Prevent wilcard coverage ignore if tests exist () 2023-01-23 16:33:57 +01:00
epenet
74a76c6fe7
Don't ignore diagnostics coverage () 2023-01-23 14:55:02 +01:00
epenet
ea43effcc9
Fix hassfest coverage check ()
* Fix hassfest coverage check

* A-Z
2023-01-23 12:23:38 +01:00
Franck Nijhof
5102d1a5f3
Drop Python 3.9 support () 2023-01-22 20:40:33 +01:00
Willem-Jan van Rootselaar
711c92a87f
Bump version python-bsblan to 0.5.9 ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-22 17:57:17 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control () 2023-01-20 13:47:55 +01:00
Jan Bouwhuis
25392655e7
Allow translating select selector options ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-17 16:22:19 +01:00
J. Nick Koston
65ca62c991
Ensure remote bluetooth adapters are loaded before integrations that need them () 2023-01-15 13:17:17 -10:00
Franck Nijhof
3cb56211f8
Make translations keys check hassfest more strict () 2023-01-15 17:43:34 +01:00
epenet
8fbcb93ab4
Use IntEnum for hassfest quality scale () 2023-01-14 10:19:18 +01:00
J. Nick Koston
8b893b7062
Bump cryptography to 39.0.0 ()
* Bump cryptography to 39.0.0

changelog: https://github.com/pyca/cryptography/compare/38.0.3...39.0.0

The change that is significant is https://github.com/pyca/cryptography/pull/7601 which
should help with esphome noise encryption performance

* constraints

* fix botocore not loading
2023-01-13 19:58:01 -05:00
epenet
e75c85f679
Downgrade integrations without code owner () 2023-01-13 10:08:15 +01:00
Martin Hjelmare
4895f2e7c2
Fix gen_requirements_all script permissions () 2023-01-12 15:46:36 +01:00
Franck Nijhof
3bb435c292
Pin matplotlib to 3.6.1 () 2023-01-09 18:34:10 +01:00
RoboMagus
dc000d2289
Mark repo as safe directory to git config ()
Fixes https://github.com/home-assistant/core/issues/83753
fixes undefined
2023-01-08 00:11:12 +01:00
Jack Boswell
3ad4caa3d7
Add Starlink Integration ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-07 10:13:37 -10:00
J. Nick Koston
b470c3484b
Bump httpx to 0.23.2 ()
changelogs:
https://github.com/encode/httpcore/compare/0.16.2...0.16.3
https://github.com/encode/httpx/compare/0.23.1...0.23.2
2023-01-02 20:45:52 -05:00
Franck Nijhof
139dd22ce6
Replace attrs with dataclasses in hassfest () 2022-12-23 15:46:00 +01:00
Jesse Hills
1b803454ce
Install all test requirements in bootstrap ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-12-22 22:21:49 +01:00
Erik Montnemery
255f35b979
Add support for translating custom attribute state ()
* Add support for translating custom attribute state

* Address review comment

* Rename attribute to state_attributes, allow naming attributes
2022-12-21 10:43:49 +01:00
Franck Nijhof
80b3572627
Rename image integration to image_upload ()
* Rename image integration to image_upload

* fix test
2022-12-16 08:16:38 -05:00
Erik Montnemery
8f761f44bd
Add support for translating state attributes ()
* Allow defining state attributes in strings.json

* Add all climate attributes

* Remove support for custom device classes

* Address review comments
2022-12-09 08:22:29 +01:00
Franck Nijhof
5e81f853e6
Bump pip_check conflicts +1 ()
* Bump pip_check conflicts +1

* Update script/pip_check

Co-authored-by: Philip Allgaier <mail@spacegaier.de>

Co-authored-by: Philip Allgaier <mail@spacegaier.de>
2022-12-08 12:44:33 +01:00
Franck Nijhof
552a87dfcc
Upgrade grpcio(-status) to 1.51.1 () 2022-12-06 21:57:06 +01:00