epenet
bdbec491eb
Enable RUFF ICN001 for registries ( #88875 )
...
* Add issue_registry to RUFF extend aliases
* Add area_registry to RUFF extend aliases
* Add device_registry to RUFF extend aliases
* Add entity_registry to RUFF extend aliases
* Adjust scaffold
2023-03-01 12:40:26 -05:00
Mitch
341d046ba7
Bump requests to 2.28.2 ( #88956 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-01 16:17:55 +01:00
J. Nick Koston
8f6cfc25c0
Use ulid-transform for constructing ulids ( #88939 )
...
* Use ulid-transform for constructing ulids
A future PR will use the new library to reduce the storage
overhead of ulids in the database
* tweak
* tweak
* bump
2023-02-28 21:09:47 -05:00
Franck Nijhof
aa3657e071
Bump version to 2023.4.0dev0 ( #88630 )
2023-02-22 21:29:49 +01:00
Franck Nijhof
6cbad61572
Enable Ruff RUF006; Hard reference to asyncio.create_task return value ( #88216 )
...
* Enable Ruff RUF006
* Fix test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-18 23:05:44 -05:00
Franck Nijhof
1caacab8dd
Enable Ruff B014 ( #88377 )
2023-02-18 07:38:04 -06:00
Franck Nijhof
1e05697080
Enable Ruff B007 ( #88356 )
...
* Enable Ruff B007
* Adjust existing cases
2023-02-17 21:08:18 -05:00
Erik Montnemery
2b8abf84bd
Fail tests which cause an SQLAlchemy warning ( #88327 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-17 19:17:06 +01:00
Franck Nijhof
580869a9a6
Update typing-extensions to 4.5.0 ( #88236 )
2023-02-16 11:21:54 +01:00
Kevin Stillhammer
a190bcdc3f
Bump voluptuous-serialize to 2.6.0 ( #88211 )
2023-02-15 23:14:45 +01:00
Ville Skyttä
b5a686730c
Let black infer target-version ( #88199 )
2023-02-15 21:12:54 +01:00
Franck Nijhof
793e51ac76
Enable Ruff SIM212 ( #88181 )
2023-02-15 15:22:34 +01:00
Franck Nijhof
f67ebcade1
Enable Ruff SIM201 ( #88171 )
2023-02-15 14:43:02 +01:00
Franck Nijhof
9030ca05b1
Enable Ruff SIM118 ( #87772 )
2023-02-15 12:39:12 +01:00
Mark Broadbent
568e0ae029
Update orjson to resolve segmentation fault during JSON serialisation ( #88119 )
...
Home Assistant uses orjson 3.8.5 that contains an issue[1] on musl libc
platforms that causes a segmentation fault. This particularly affect
Home Assistant container installations reported in #87283 and #87522 .
This updates the version to 3.8.6 that resolves the segmentation
fault during json serialisation.
[1] https://github.com/ijl/orjson/issues/335
2023-02-14 15:26:52 -05:00
J. Nick Koston
94386b6674
Bump home-assistant-bluetooth to 1.9.3 ( #88051 )
2023-02-13 23:28:30 -05:00
J. Nick Koston
026b4f5307
Bump aiohttp to 3.8.4 ( #88032 )
2023-02-13 15:52:20 -06:00
Franck Nijhof
f5b651750c
Enable Ruff ICN001 ( #87775 )
2023-02-09 13:41:50 +01:00
J. Nick Koston
f0118b3d30
Bump cryptography to 39.0.1 for CVE-2023-23931 ( #87658 )
...
Bump cryptography to 39.0.1
CVE-2023-23931
2023-02-07 20:30:16 -05:00
Marc Mueller
4fbb14ecc7
Update mypy to 1.0.0 ( #87586 )
2023-02-07 02:31:14 +01:00
epenet
de807fa782
Ensure __init__ return type is None ( #87521 )
...
* Ensure __init__ return type is None
* Remove hass-constructor plugin
* Simplify
* Replace dict with list
* Cleaup pyproject.toml
* Move is_method outside loop
* Adjust loop
2023-02-06 16:25:12 +01:00
Aarni Koskela
ee6773236e
Update Ruff to 0.0.241 ( #87386 )
...
Changes: https://github.com/charliermarsh/ruff/compare/v0.0.237...v0.0.241
2023-02-04 14:42:36 -05:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Marc Mueller
04b921e3b5
Update pip constraint to 23.1 ( #87331 )
2023-02-03 21:02:35 +01:00
epenet
61734f04b8
Re-enable Ruff D418 ( #87302 )
2023-02-03 16:33:03 +01:00
Franck Nijhof
4b27af6a8f
Re-enabled Ruff E713 ( #87301 )
2023-02-03 16:18:33 +01:00
Marc Mueller
07a3046d11
Update pylint to 2.16.0 ( #87083 )
2023-02-02 12:49:01 +01:00
Franck Nijhof
3b5fd4bd06
Enable Ruff TRY004 ( #86811 )
2023-01-30 14:06:52 +01:00
Franck Nijhof
c56832bb2c
Enable Ruff SIM300 ( #86793 )
2023-01-30 11:03:23 +01:00
Ville Skyttä
50c2992f36
Drop py39 from black target-version ( #86814 )
2023-01-27 22:39:52 +02:00
Franck Nijhof
8f74bff354
Enable Ruff PLC0414 ( #86799 )
2023-01-27 16:32:04 +01:00
Franck Nijhof
8c993116e1
Enable Ruff SIM401 ( #86790 )
...
* Enable Ruff SIM401
* Adjust found cases
2023-01-27 13:08:44 +01:00
Franck Nijhof
bfbf9b9751
Adjusts imports in tests to match our relative import rules ( #86788 )
2023-01-27 12:51:58 +01:00
Franck Nijhof
3ff3834cae
Re-enable Ruff UP024 ( #86784 )
2023-01-27 12:03:27 +01:00
Franck Nijhof
a79885ceaf
Enable Ruff SIM117 ( #86783 )
2023-01-27 11:52:49 +01:00
Franck Nijhof
57cf11f067
Enable Ruff PT015 ( #86775 )
2023-01-27 11:10:29 +01:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
Franck Nijhof
e738924780
Enable Ruff SIM105 ( #86759 )
...
* Enable Ruff SIM105
* Adjust existing cases
2023-01-26 21:06:22 -05:00
Franck Nijhof
62dcbe5258
Enable Ruff PT001 ( #86730 )
2023-01-26 18:05:05 +01:00
Franck Nijhof
eb5d63237c
Update ruff to v0.0.235 ( #86719 )
2023-01-26 17:17:13 +01:00
Franck Nijhof
7d672b4a4d
Bump version to 2023.3.0dev0 ( #86632 )
2023-01-25 20:50:44 +01:00
Malte Franken
a2fb6fbaa8
Bump httpx to 0.23.3 ( #86614 )
...
fixes undefined
2023-01-25 11:40:46 +01:00
Franck Nijhof
73c4ac53d2
Enable T20 (flake8-print) to ban use of print statements ( #86525 )
...
* Enable T20 (flake8-print) to ban use of print statements
* Make compatible with flake8 config
2023-01-24 14:24:21 +01:00
Aarni Koskela
65ad953497
Update Ruff to 0.0.231, enable D401 ( #86520 )
2023-01-24 13:57:08 +01:00
Aarni Koskela
bf41a971a2
Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) ( #86224 )
2023-01-24 12:15:16 +01:00
Marc Mueller
d7dda6bee5
Update python version used for pylint [Py310] ( #86414 )
...
* Update python version used for pylint linting [Py310]
* Import Callable from collections.abc [Py310]
* Use builtin anext [Py310]
2023-01-23 07:56:15 +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
epenet
91c502ae55
Bump bcrypt to 4.0.1 ( #86338 )
2023-01-21 11:16:28 -05:00
Franck Nijhof
b85d6e6ede
Update orjson to 3.8.5 ( #86043 )
2023-01-16 22:20:12 +01:00