c4deac6eef9bedaec4fc6c3260bc596caa91ea61,src/python/pants/backend/python/typecheck/mypy/rules.py,,mypy_typecheck_partition,#Any#Any#,185
Before Change
// Python 3.8 when relevant. We only do this if <3.8 can"t be used, as we don"t want a
// loose requirement like `>=3.6` to result in requiring Python 3.8, which would error if
// 3.8 is not installed on the machine.
tool_interpreter_constraints = PexInterpreterConstraints(
("CPython>=3.8",)
if (
mypy.options.is_default("interpreter_constraints")
and partition.interpreter_constraints.requires_python38_or_newer()
)
else mypy.interpreter_constraints
)
plugin_sources_request = Get(
PythonSourceFiles, PythonSourceFilesRequest(plugin_transitive_targets.closure)
)
After Change
mypy.options.is_default("interpreter_constraints")
and partition.interpreter_constraints.requires_python38_or_newer()
)
else PexInterpreterConstraints(mypy.interpreter_constraints)
)
plugin_sources_request = Get(
PythonSourceFiles, PythonSourceFilesRequest(plugin_transitive_targets.closure)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: c4deac6eef9bedaec4fc6c3260bc596caa91ea61
Time: 2021-02-09
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/typecheck/mypy/rules.py
Class Name:
Method Name: mypy_typecheck_partition
Project Name: pantsbuild/pants
Commit Name: f8a0b0facc8f47067b44832bbab505a20955c328
Time: 2020-09-22
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/typecheck/mypy/rules.py
Class Name:
Method Name: mypy_typecheck
Project Name: pantsbuild/pants
Commit Name: 213d4dfdf82b2061c36175b61b55fad01ca07aad
Time: 2021-02-09
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/black/rules.py
Class Name:
Method Name: setup_black
Project Name: pantsbuild/pants
Commit Name: ee98ef6fa797e8f2e64059363a47734d9f409b90
Time: 2020-09-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/typecheck/mypy/rules.py
Class Name:
Method Name: mypy_typecheck