-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/theoremlp/rules_mypy/releases/tag/v0.15.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Mark Elliot <[email protected]>
- Loading branch information
1 parent
00eca88
commit 00ac9e9
Showing
4 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"rules_mypy" | ||
|
||
module( | ||
name = "rules_mypy", | ||
version = "0.15.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 = "0.34.0") | ||
bazel_dep(name = "rules_uv", version = "0.21.0") | ||
|
||
# configuration | ||
PYTHON_VERSION = "3.12" | ||
|
||
PYTHON_VERSION_SNAKE = PYTHON_VERSION.replace(".", "_") | ||
|
||
python = use_extension("@rules_python//python/extensions:python.bzl", "python") | ||
python.toolchain( | ||
is_default = True, | ||
python_version = PYTHON_VERSION, | ||
) | ||
use_repo(python, "python_" + PYTHON_VERSION_SNAKE, "python_versions") | ||
|
||
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") | ||
pip.parse( | ||
enable_implicit_namespace_pkgs = True, | ||
experimental_index_url = "https://pypi.org/simple", # use Bazel downloader | ||
hub_name = "rules_mypy_pip", | ||
python_version = PYTHON_VERSION, | ||
requirements_by_platform = { | ||
"//mypy/private:requirements.txt": "*", | ||
}, | ||
) | ||
use_repo(pip, "rules_mypy_pip") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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//..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"integrity": "sha256-N+GJCfIBI4vEnyLrJFtyNA86nmqEmnVj/vab7dJcY7M=", | ||
"strip_prefix": "rules_mypy-0.15.0", | ||
"url": "https://github.com/theoremlp/rules_mypy/releases/download/v0.15.0/rules_mypy-0.15.0.tar.gz" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,8 @@ | |
"0.9.0", | ||
"0.10.0", | ||
"0.11.0", | ||
"0.14.0" | ||
"0.14.0", | ||
"0.15.0" | ||
], | ||
"yanked_versions": {} | ||
} |