avee87
ac70612ec5
Improve helper integration scaffold ( #88713 )
2023-02-27 16:25:27 +01:00
Paulus Schoutsen
9be3f86a4c
Check circular dependencies ( #88778 )
2023-02-26 20:25:29 -05:00
Joakim Sørensen
0f204d6502
Remove homeassistant_hardware after dependency from zha ( #88751 )
2023-02-25 12:01:01 +01:00
J. Nick Koston
ec53c26f90
Constrain faust-cchardet to first version that builds wheels successfully ( #88563 )
2023-02-21 16:32:15 -06:00
Bram Kragten
bee79e351e
Allow translation for data entry submit button ( #88499 )
2023-02-20 19:52:39 +01:00
Ruslan Sayfutdinov
0d832c0a5a
Cleanup mypy ignore list feature ( #88451 )
2023-02-19 19:29:06 +01:00
epenet
5dda1de5bd
Adjust async_setup_entry in config_flow scaffold ( #88319 )
2023-02-17 13:43:56 +01:00
J. Nick Koston
c79157208b
Add python 3.11 to the CI ( #88038 )
...
* Remove profiler.memory service
guppy3 is not python3.11 compat
https://github.com/zhuyifei1999/guppy3/issues/41
This service will return if and when guppy3 becomes
python3.11 compat
* squash
* temp remove
* temp dump tests
* temp dump tests
* drop a few more to get a run
* drop a few more to get a run
* Account for changed python3.11 enum.IntFlag behavior in zha
There may be additional changes needed, but I could only
see what needed to be updated based on the tests
* merge
* restore
* restore
* legacy value
* tweak a bit for the python 3.11 timings
* block cchardet
* conditional
* adjust est
* test
* not yet
* tweak
* give a little leeway for timing
* Fix otbr tests
* Increase database test timeout
It looks like we need a little more time to run
with the addiitonal tests in #87019
* Increase database test timeout
It looks like we need a little more time to run
with the addiitonal tests in #87019
* Fix aprs tests with python 3.11
* merge fix
* hints
* Update homeassistant/package_constraints.txt
* Update script/gen_requirements_all.py
* Constrain uamqp for Python 3.10 only
* Bump vulcan-api to 2.3.0
see https://github.com/kapi2289/vulcan-api/pull/126
see https://github.com/home-assistant/core/pull/88038
see https://github.com/home-assistant/docker/pull/260
* add ban
* Bump python-matter-server to 2.1.1
* revert
* Update tests/asyncio_legacy.py
---------
Co-authored-by: Erik <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2023-02-16 12:38:32 -05:00
J. Nick Koston
c83ea297b5
Refactor zeroconf task handling ( #88204 )
...
* Refactor zeroconf task handling
- Avoid the need to create tasks for most callbacks
- Fixes the untracked task that could get unexpectedly GCed
* be consistant
* be consistant
* fix zeroconf tests
* runtime
* Revert "runtime"
This reverts commit 19e6b61837
.
* precalc
* refactor
* tweak
* update tests
2023-02-15 21:44:11 -05:00
Franck Nijhof
a1efd59760
Constrain uamqp for Python 3.10 only ( #88198 )
2023-02-15 14:24:31 -06:00
J. Nick Koston
61539686a4
Disable profiler.memory service with python 3.11 ( #88136 )
2023-02-15 16:20:47 +01:00
Franck Nijhof
c3a70a7ec5
Remove uamqp version constrain ( #88176 )
2023-02-15 15:24:58 +01:00
Franck Nijhof
9030ca05b1
Enable Ruff SIM118 ( #87772 )
2023-02-15 12:39:12 +01:00
Luke
bb4d6c0d2c
Rework user_input check in config flow scaffold ( #87820 )
...
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 ( #87896 )
2023-02-12 09:11:56 -06:00
Luke
8de321253b
Reorganize manifest scaffold ( #87819 )
...
* reorganize manifest.json
* add iot_class to manifest
2023-02-10 07:52:00 +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
Marc Mueller
67499e0204
Enable pydantic mypy plugin ( #87415 )
2023-02-09 13:33:10 +01:00
Franck Nijhof
769e0356ad
Clean up unnecessary registry mocks from scaffolding templates ( #87732 )
2023-02-09 08:22:41 +01:00
Marc Mueller
18a3fe1237
Remove platformdirs constraint ( #87735 )
2023-02-08 15:32:03 -06:00
Erik Montnemery
0cfb937d07
Enforce sorting of manifests ( #87020 )
2023-02-08 21:48:58 +01:00
Marc Mueller
fb4c0b4b7a
Enable error-code `redundant-self` [mypy 1.0] ( #87602 )
2023-02-07 14:02:38 +01:00
Marc Mueller
42008c50f3
Enable error-code `truthy-iterable` [mypy 1.0] ( #87596 )
2023-02-07 11:16:22 +01:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Marc Mueller
af59623601
Enable `local_partial_types` for strict typing [mypy] ( #86409 )
2023-02-06 20:41:39 -06:00
Paulus Schoutsen
ff6e597a63
Add Matter to supported standards for brands ( #87564 )
...
* Add Matter standard to TP-Link
* --amend
2023-02-06 20:09:01 -05:00
Marc Mueller
e348c25e18
Pin platformdirs to resolve dependency conflict ( #87589 )
2023-02-06 18:58:00 -06:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
9f9873b39a
Add ability to generate development translations for all integrations ( #87197 )
2023-02-02 16:27:51 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Joakim Sørensen
80ffac48a3
Revert "Mark repo as safe directory to git config ( #83755 )" ( #86888 )
...
This reverts commit dc000d2289
.
2023-01-29 13:07:50 -05:00
Franck Nijhof
e738924780
Enable Ruff SIM105 ( #86759 )
...
* Enable Ruff SIM105
* Adjust existing cases
2023-01-26 21:06:22 -05:00
Franck Nijhof
021ac84405
Add recorder platform to required test category ( #86704 )
2023-01-26 11:03:56 +01:00
J. Nick Koston
1d1d69ca02
Update scaffold scripts to use async_forward_entry_setups ( #86647 )
2023-01-25 21:26:31 +01:00
epenet
b2004e62b1
Remove ability to ignore coverage violations ( #86597 )
...
* 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) ( #86224 )
2023-01-24 12:15:16 +01:00
epenet
15ab04f97d
Prevent wilcard coverage ignore if tests exist ( #86455 )
2023-01-23 16:33:57 +01:00
epenet
74a76c6fe7
Don't ignore diagnostics coverage ( #86440 )
2023-01-23 14:55:02 +01:00
epenet
ea43effcc9
Fix hassfest coverage check ( #86443 )
...
* Fix hassfest coverage check
* A-Z
2023-01-23 12:23:38 +01:00
Franck Nijhof
5102d1a5f3
Drop Python 3.9 support ( #85456 )
2023-01-22 20:40:33 +01:00
Willem-Jan van Rootselaar
711c92a87f
Bump version python-bsblan to 0.5.9 ( #86373 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-22 17:57:17 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
Jan Bouwhuis
25392655e7
Allow translating select selector options ( #85531 )
...
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 ( #85723 )
2023-01-15 13:17:17 -10:00
Franck Nijhof
3cb56211f8
Make translations keys check hassfest more strict ( #85221 )
2023-01-15 17:43:34 +01:00
epenet
8fbcb93ab4
Use IntEnum for hassfest quality scale ( #85817 )
2023-01-14 10:19:18 +01:00
J. Nick Koston
8b893b7062
Bump cryptography to 39.0.0 ( #85846 )
...
* 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 ( #85752 )
2023-01-13 10:08:15 +01:00
Martin Hjelmare
4895f2e7c2
Fix gen_requirements_all script permissions ( #85745 )
2023-01-12 15:46:36 +01:00