Simplify using py_project
This commit is contained in:
parent
4d8cd34cbc
commit
edd4b2ea78
1 changed files with 5 additions and 15 deletions
|
@ -1,16 +1,6 @@
|
|||
py_library(
|
||||
name = "lib",
|
||||
srcs = glob(["src/python/**/*.py"]),
|
||||
imports = [
|
||||
"src/python",
|
||||
],
|
||||
)
|
||||
|
||||
py_pytest(
|
||||
name = "test",
|
||||
srcs = glob(["test/python/**/*.py"]),
|
||||
deps = [
|
||||
":lib",
|
||||
py_requirement("hypothesis"),
|
||||
],
|
||||
py_project(
|
||||
name = "proquint",
|
||||
test_deps = [
|
||||
py_requirement("hypothesis"),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue