Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 6c6578af8a33f08f4b073850faa6e95a34419491
https://github.com/tribe29/checkmk/commit/6c6578af8a33f08f4b073850faa6e95a3…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M cmk/gui/plugins/metrics/utils.py
M cmk/gui/plugins/views/__init__.py
M cmk/gui/type_defs.py
M tests/unit/cmk/gui/plugins/metrics/test_metrics_utils.py
Log Message:
-----------
Add some more metric related type hints
Change-Id: Id18f9f7b7c3168d3e623043e1092a51717b7b3a7
Commit: 577cbceefbf163b64f7548dceecbd2ef0d566651
https://github.com/tribe29/checkmk/commit/577cbceefbf163b64f7548dceecbd2ef0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M cmk/gui/plugins/views/perfometer.py
M cmk/gui/plugins/views/perfometers/__init__.py
M cmk/gui/plugins/views/perfometers/active_checks.py
M cmk/gui/plugins/views/perfometers/check_mk.py
M tests/unit/cmk/gui/plugins/views/perfometers/test_perfometer_fileinfo.py
Log Message:
-----------
Add type hints to legacy perfometers
This change uncovers a number of bugs from the type checking point of
view which are also fixed along the way.
Some of them seem like real bugs, but some of them may not appear in
reality because the data produced by the related checks prevents that.
However, it's a good idea to clarify all this.
Detail: Exceptions in perfometers are normally silently suppressed. It
is likely that these errors were not uncovered before for this reason.
Change-Id: I4a5128465748280b328cb4e48bd1f223d1271a1f
Commit: 2e2b7b21c8d0526c9d18cec4466e3541438d6ef4
https://github.com/tribe29/checkmk/commit/2e2b7b21c8d0526c9d18cec4466e35414…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M cmk/gui/plugins/views/perfometers/__init__.py
Log Message:
-----------
Add some more type hints to perfometers
Change-Id: Ia6a0b8e2943c3223d65c136f5784c5069307a866
Commit: 0545924fcfe048138f4665cd8f33ec0e40793b36
https://github.com/tribe29/checkmk/commit/0545924fcfe048138f4665cd8f33ec0e4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M cmk/gui/metrics.py
M cmk/gui/plugins/metrics/utils.py
M cmk/gui/plugins/views/__init__.py
M cmk/gui/plugins/views/perfometer.py
M cmk/gui/type_defs.py
Log Message:
-----------
Add even more type hints to perfometer code
Also rename Perfometer specification from Perfometer to PerfometerSpec
to prevent name clashes with the Perfometer painter class.
Change-Id: I9ca1035cb0611ccad3bede137609921db93bb337
Compare:
https://github.com/tribe29/checkmk/compare/4ca3ef1e5f17...0545924fcfe0