-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Correctness
Currently we check that given linter version is not lower than the required version. We are doing that with pkg_resources.parse_version():
https://github.com/mongodb/mongo/blob/8ad97ab6e15eb185438f37b2e9a2e3d9724f9493/buildscripts/linter/runner.py#L44
The pkg_resources.parse_version() returns either Version or LegacyVersion object, which could be incomparable with each other. We should make sure that it works correctly.
- related to
-
SERVER-65718 Fix mypy error
- Closed