Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 5dc0cb06d10fd521f8315b532e5d2b9d83dc2212
https://github.com/Checkmk/checkmk/commit/5dc0cb06d10fd521f8315b532e5d2b9d8…
Author: Timotheus Bachinger <timotheus.bachinger(a)checkmk.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M cmk/plugins/lib/temperature.py
M tests/unit/cmk/plugins/lib/test_temperature.py
Log Message:
-----------
Improve typing on check_temperature
* this function is not considered an official API function
* however, it is used all over the place
* it has the big issue that callers can pass a "bad" combination of arguments,
causing the function raise during run-time only
* now mypy will scream during type checking
* and remove a test covered now by the typing
Change-Id: Ibcacfdf97c91a436b2267020c42de730af423635
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications