Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,214 changes: 3,958 additions & 1,256 deletions crates/Cargo.Bazel.lock

Large diffs are not rendered by default.

457 changes: 454 additions & 3 deletions crates/Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ lexopt = "0.3.2"
pep440_rs = "0.7.3"
pep508_rs = "0.9.2"
regex = "1.13.1"
ruff_python_ast = "0.0.20"
ruff_python_parser = "0.0.20"
sha2 = "0.11.1"
# Disable default features (C zstd-sys bindings plus unused compression,
# encryption, and time subsystems) and enable only `deflate-flate2-zlib-rs`.
Expand Down
24 changes: 24 additions & 0 deletions crates/py_test_main_validator/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
load("@rules_rust//rust:defs.bzl", "rust_library")
load("//python/private:distribution_filegroup.bzl", "distribution_filegroup") # buildifier: disable=bzl-visibility

package(default_visibility = ["//:__subpackages__"])

licenses(["notice"])

rust_library(
name = "py_test_main_validator_lib",
srcs = ["src/lib.rs"],
edition = "2024",
deps = [
"@crates//:anyhow",
"@crates//:argfile",
"@crates//:lexopt",
"@crates//:regex",
"@crates//:ruff_python_ast",
"@crates//:ruff_python_parser",
],
)

distribution_filegroup(
name = "distribution",
)
Loading
Loading