Øyvind Matheson Wergeland
fdef3ece13
Fix placeholder quotes ( #114974 )
...
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.
* Ensure that strings does not contain placeholders in single quotes.
* Avoid redefining value
* Moved string_with_no_placeholders_in_single_quotes
* Define regex once
* Fix tests
2024-04-06 13:01:56 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Marc Mueller
a6b842f818
Add empty line after module docstring (2) [other] ( #112738 )
2024-03-08 19:16:38 +01:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
epenet
5f25b71df7
Add type hints to core tests ( #88478 )
2023-02-20 11:42:56 +01:00
J. Nick Koston
61539686a4
Disable profiler.memory service with python 3.11 ( #88136 )
2023-02-15 16:20:47 +01:00
Franck Nijhof
ef800335fb
Enable Ruff PT022 ( #86792 )
...
* Enable Ruff PT022
* Adjust found cases
2023-01-27 13:57:06 +01:00
Franck Nijhof
139dd22ce6
Replace attrs with dataclasses in hassfest ( #84475 )
2022-12-23 15:46:00 +01:00
epenet
89c7568515
Remove duplicate code in hassfest model ( #82203 )
2022-11-17 09:10:37 +01:00
epenet
d6f5f0c794
Bump samsungtvws to 2.4.0 ( #68225 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-16 20:44:14 -10:00
Joakim Sørensen
13067003cb
Fix issue with ranges in requirements with hassfest ( #59470 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-12 09:39:30 +01:00
Joakim Sørensen
2a7192167d
Use regex instead of partition to section package definition ( #58278 )
2021-10-23 13:19:56 +02:00
Paulus Schoutsen
c8f584f4ef
Validate requirements format in hassfest ( #55094 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-08-24 08:51:07 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version ( #49916 )
2021-05-17 15:48:41 +02:00
Joakim Sørensen
1a74709757
Throw error in hassfest when integration is missing version ( #45976 )
2021-02-04 13:31:17 +01:00
Joakim Sørensen
06e6005fbb
Add warning to custom integrations without version ( #45919 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-04 09:59:41 +01:00
Ville Skyttä
6ae9399237
Upgrade isort to 5.4.2 ( #37939 )
2020-08-29 08:23:55 +02:00
Paulus Schoutsen
52818bdb89
Make Hassfest stricter pt 2 ( #30068 )
...
* Make Hassfest stricter
* Fix if-condition
* Small cleanup
2019-12-19 14:00:22 +01:00
Paulus Schoutsen
9e51a18845
Make hassfest import detection better ( #29932 )
...
* Make hassfest import detection better
* Fix tests
2019-12-16 08:22:20 +01:00