WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "mypy_integration",
sha256 = "cf94c102fbaccb587eea8de5cf1cb7f55c5c74396a2468932c3a2a4df989aa1d",
strip_prefix = "bazel-mypy-integration-0.4.0",
url = "https://github.com/thundergolfer/bazel-mypy-integration/archive/refs/tags/0.4.0.tar.gz",
)
load(
"@mypy_integration//repositories:repositories.bzl",
mypy_integration_repositories = "repositories",
)
mypy_integration_repositories()
load("@mypy_integration//:config.bzl", "mypy_configuration")
# Optionally pass a MyPy config file, otherwise pass no argument.
mypy_configuration("//tools/typing:mypy.ini")
load("@mypy_integration//repositories:deps.bzl", mypy_integration_deps = "deps")
mypy_integration_deps(
mypy_requirements_file="//tools/typing:mypy_version.txt",
# python_interpreter = "python3.9" # /home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin is searched for exe.
# OR
# python_interpreter_target = "@python3_interpreter//:bin/python3",
)
What's Changed
- Update README link to bazel aspects doc by @RadixSeven in #56
- chore: remove examples/.bazelrc by @alexeagle in #59
- Replace
mypy_integration_config
repo with label flag by @UebelAndre in #62
New Contributors
- @RadixSeven made their first contribution in #56
- @UebelAndre made their first contribution in #62
Full Changelog: 0.3.0...0.4.0