Erik Montnemery
|
c805ea7b4f
|
Include deprecated constants in wildcard imports (#107114)
|
2024-01-05 11:46:45 +01:00 |
Erik Montnemery
|
9eefd95e91
|
Deduplicate handling of duplicated constants (#107074)
* Deduplicate handling of duplicated constants
* Use DeprecatedConstant + DeprecatedConstantEnum
* Fixup
* Remove test cases with unnamed tuples
|
2024-01-04 13:25:09 +01:00 |
Marc Mueller
|
c6d1f1ccc8
|
Fix pytest test collection warning (#106405)
|
2023-12-26 16:23:19 +01:00 |
Robert Resch
|
ebdf7b9c8c
|
Deprecate some deprecated const constants (#106230)
* Deprecate some deprecated const constants
* Improve code
* fix typing
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
|
2023-12-23 20:18:51 +01:00 |
Robert Resch
|
c4c422de79
|
Skip logging deprecated constant if the calling integration couldn't be indentified (#106181)
* Add option to log only if a integreation is detected for a deprecated constant
* Require param
* Add test that log entry is not created
* typo
|
2023-12-21 23:19:40 +01:00 |
Ville Skyttä
|
24b1e01d71
|
Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
|
2023-12-20 23:55:09 +01:00 |
Robert Resch
|
5a3db078d5
|
Use patch.dict in deprecation test "test_check_if_deprecated_constant" (#106117)
|
2023-12-20 16:06:26 +01:00 |
Robert Resch
|
0e0fd39603
|
Add dir_with_deprecated_constants function to deprecation helper (#106059)
|
2023-12-19 16:37:21 +01:00 |
Robert Resch
|
a4ccd6e13b
|
Deprecate binary sensor device class constants (#105736)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
|
2023-12-19 12:45:32 +01:00 |
Erik Montnemery
|
db51a8e1f7
|
Allow passing breaks_in_ha_version to deprecation helper decorators (#104985)
|
2023-12-04 11:52:10 +01:00 |
Erik Montnemery
|
3478666973
|
Use loader.async_suggest_report_issue in deprecation helper (#101393)
|
2023-10-06 09:51:08 +02:00 |
Erik Montnemery
|
2627abb9ef
|
Improve test coverage of deprecation helper (#101335)
|
2023-10-03 20:57:24 +02:00 |
Erik Montnemery
|
ab2de18f8f
|
Refactor frame.get_integration_frame (#101322)
|
2023-10-03 19:21:27 +02:00 |
epenet
|
5f25b71df7
|
Add type hints to core tests (#88478)
|
2023-02-20 11:42:56 +01:00 |
Joakim Sørensen
|
b1c2cde40b
|
Changes to filename and path validation (#45529)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
|
2021-01-26 15:53:21 +01:00 |
Franck Nijhof
|
65cf2fcb6f
|
Drop asynctest (#44746)
|
2021-01-01 22:31:56 +01:00 |
Paulus Schoutsen
|
2af984917e
|
Use asynctest-mock in most places (#35109)
* Use asynctest-mock in most places
* Fix broken patch in pilight
|
2020-05-03 11:27:19 -07:00 |
Bas Nijholt
|
f60125b5c9
|
Sort imports according to PEP8 for 'tests' (#29791)
|
2019-12-09 16:52:24 +01:00 |
Paulus Schoutsen
|
4de97abc3a
|
Black
|
2019-07-31 12:25:30 -07:00 |
Adam Mills
|
7dd7f509ca
|
Add tests for deprecation helpers (#7452)
|
2017-05-06 10:10:48 -07:00 |