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(
|
py_project(
|
||||||
name = "lib",
|
name = "proquint",
|
||||||
srcs = glob(["src/python/**/*.py"]),
|
test_deps = [
|
||||||
imports = [
|
py_requirement("hypothesis"),
|
||||||
"src/python",
|
],
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
||||||
py_pytest(
|
|
||||||
name = "test",
|
|
||||||
srcs = glob(["test/python/**/*.py"]),
|
|
||||||
deps = [
|
|
||||||
":lib",
|
|
||||||
py_requirement("hypothesis"),
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue