Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: d4ab1ae8ee92f27ed9e75c2b475d70665becc678
https://github.com/Checkmk/checkmk/commit/d4ab1ae8ee92f27ed9e75c2b475d70665…
Author: Timotheus Bachinger <timotheus.bachinger(a)checkmk.com>
Date: 2024-06-21 (Fri, 21 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