Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 9d65a6feb8ce1cd465a52f37a9cbade3e38383fb
https://github.com/tribe29/checkmk/commit/9d65a6feb8ce1cd465a52f37a9cbade3e…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-08-06 (Thu, 06 Aug 2020)
Changed paths:
M cmk/base/api/agent_based/utils.py
M cmk/base/check_api_utils.py
M cmk/base/check_utils.py
M cmk/base/crash_reporting.py
M cmk/base/modes/__init__.py
M cmk/ec/actions.py
M cmk/gui/background_job.py
M cmk/gui/breadcrumb.py
M cmk/gui/forms.py
M cmk/gui/htmllib.py
M cmk/gui/plugins/dashboard/utils.py
M cmk/gui/plugins/openapi/restful_objects/constructors.py
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/plugins/views/utils.py
M cmk/gui/userdb.py
M cmk/gui/valuespec.py
M cmk/gui/visuals.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/rulesets.py
M cmk/gui/watolib/rulespecs.py
M cmk/utils/crash_reporting.py
M cmk/utils/log/_log.py
M cmk/utils/packaging.py
M cmk/utils/profile.py
M livestatus/api/python/livestatus.py
M omd/packages/omd/omdlib/init_scripts.py
M omd/packages/omd/omdlib/main.py
M scripts/run-mypy
Log Message:
-----------
Disable implicit introduction of Optional via default parameter.
Citing PEP 484 (Type Hints):
A past version of this PEP allowed type checkers to assume an optional
type when the default value is None, as in this code:
def handle_employee(e: Employee = None): ...
This would have been treated as equivalent to:
def handle_employee(e: Optional[Employee] = None) -> None: ...
This is no longer the recommended behavior. Type checkers should move
towards requiring the optional type to be made explicit.
Currently mypy has the old behavior as the default, but this will probably
changed soon, see
https://github.com/python/mypy/issues/9091.
Change-Id: I7349f50345ba98337b821a5a2006c60dfe342341
Commit: 57f84b28af867425162b822652aa9e4a95bb5046
https://github.com/tribe29/checkmk/commit/57f84b28af867425162b822652aa9e4a9…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-08-06 (Thu, 06 Aug 2020)
Changed paths:
M cmk/base/plugins/agent_based/aix_diskiod.py
M tests/unit/cmk/base/plugins/agent_based/test_aix_diskiod.py
Log Message:
-----------
aix_diskiod.py: fix typo
Change-Id: Ic21ccbc0025ed982c0e5dc6c8ada829c9f144d50
Compare:
https://github.com/tribe29/checkmk/compare/d2dbd0987e4c...57f84b28af86