diff --git a/modules/rules_mypy/0.37.0/MODULE.bazel b/modules/rules_mypy/0.37.0/MODULE.bazel new file mode 100644 index 00000000000..073f0fe527a --- /dev/null +++ b/modules/rules_mypy/0.37.0/MODULE.bazel @@ -0,0 +1,32 @@ +"rules_mypy" + +module( + name = "rules_mypy", + version = "0.37.0", +) + +bazel_dep(name = "bazel_skylib", version = "1.4.1") +bazel_dep(name = "buildifier_prebuilt", version = "7.3.1") +bazel_dep(name = "platforms", version = "0.0.8") +bazel_dep(name = "rules_python", version = "1.1.0") +bazel_dep(name = "rules_uv", version = "0.21.0") + +# configuration +PYTHON_VERSION = "3.12" + +python = use_extension("@rules_python//python/extensions:python.bzl", "python") +python.toolchain( + is_default = True, + python_version = PYTHON_VERSION, +) + +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +pip.parse( + enable_implicit_namespace_pkgs = True, + hub_name = "rules_mypy_pip", + python_version = PYTHON_VERSION, + requirements_by_platform = { + "//mypy/private:requirements.txt": "*", + }, +) +use_repo(pip, "rules_mypy_pip") diff --git a/modules/rules_mypy/0.37.0/presubmit.yml b/modules/rules_mypy/0.37.0/presubmit.yml new file mode 100644 index 00000000000..1746784b801 --- /dev/null +++ b/modules/rules_mypy/0.37.0/presubmit.yml @@ -0,0 +1,15 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + bazel: + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@rules_mypy//..." diff --git a/modules/rules_mypy/0.37.0/source.json b/modules/rules_mypy/0.37.0/source.json new file mode 100644 index 00000000000..38042dfca8e --- /dev/null +++ b/modules/rules_mypy/0.37.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-BRHiZ9/764QhnMzd2dEoy/ZK/JU2kQSG8ILnIkxlaRw=", + "strip_prefix": "rules_mypy-0.37.0", + "url": "https://github.com/theoremlp/rules_mypy/releases/download/v0.37.0/rules_mypy-0.37.0.tar.gz" +} diff --git a/modules/rules_mypy/metadata.json b/modules/rules_mypy/metadata.json index 0189e9058e1..b0eb706f48b 100644 --- a/modules/rules_mypy/metadata.json +++ b/modules/rules_mypy/metadata.json @@ -46,6 +46,7 @@ "0.31.0", "0.32.0", "0.36.0", + "0.37.0", "0.38.0" ], "yanked_versions": {}