Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 742bef5d7d6e09fb505620170a29a2c5fd5f3fe3
https://github.com/tribe29/checkmk/commit/742bef5d7d6e09fb505620170a29a2c5f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-12-06 (Fri, 06 Dec 2019)
Changed paths:
M mypy-raw.ini
R mypy.ini
M scripts/run-mypy
M tests-py3/Makefile
Log Message:
-----------
mypy: First approach to make it work with py2/3
* The version definition has been removed from our default mypy.ini,
which made it empty, so that it can be dropped.
* The scripts/run-mypy now tries to detect the type of the file
currently being checked, assuming that each call to mypy only checks
files of one version and all relevant calls have the path to a file
in their last command line argument
Todo: We'll have to create two CI targets, one to check the Python 2 and
one to check the Python 3 code.
Change-Id: I9aff263786a84ae33d0cc2a83757c18f9867100c