Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2ee16e8421ff47d53dd0b6eddc55220c56377395
https://github.com/tribe29/checkmk/commit/2ee16e8421ff47d53dd0b6eddc55220c5…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M cmk/base/check_utils.py
M cmk/base/snmp.py
M cmk/base/snmp_utils.py
M cmk/fetchers/snmp.py
M cmk/utils/type_defs.py
Log Message:
-----------
Avoid layering violations by moving types to utils
This removes some layering violations from cmk/fetchers/snmp
CMK-4243
Change-Id: I3fb274df263cae5678b79ee8c4108c6f42491e82
Commit: 613726877a11a880bc637a8e59b0332d7de4583d
https://github.com/tribe29/checkmk/commit/613726877a11a880bc637a8e59b0332d7…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M cmk/base/api/agent_based/register/section_plugins_legacy.py
M cmk/base/api/agent_based/section_types.py
M cmk/base/api/agent_based/utils.py
M cmk/base/automations/check_mk.py
M cmk/base/check_api.py
M cmk/base/check_utils.py
M cmk/base/checking.py
M cmk/base/config.py
M cmk/base/data_sources/abstract.py
M cmk/base/data_sources/ipmi.py
M cmk/base/data_sources/piggyback.py
M cmk/base/data_sources/snmp.py
M cmk/base/discovery.py
M cmk/base/inventory.py
M cmk/base/snmp.py
M cmk/base/snmp_scan.py
M cmk/base/snmp_utils.py
M tests-py3/integration/cmk/base/snmp/test_snmp.py
M tests-py3/unit/cmk/base/data_sources/test_snmp_data_source.py
M tests-py3/unit/cmk/base/data_sources/test_tcp_data_source.py
M tests-py3/unit/cmk/base/test_snmp_unit.py
Log Message:
-----------
Fix SNMP-related imports
- Remove part of the import indirection over `cmk.base.*_utils`
- Remove useless `pylint: exclude=unused-import`
- Remove actual unused imports
- Sort imports
This make it easier to see where what is actually used.
CMK-4243
Change-Id: I2d102980eb042265fd017eb88b9b0de86f2ea190
Compare:
https://github.com/tribe29/checkmk/compare/40a820f0c8c2...613726877a11