Skip to content

Commit

Permalink
labm8/py/test: Move global conftest into //labm8/py/internal.
Browse files Browse the repository at this point in the history
This moves the conftest.py file at the root of the WORKSPACE into a
module in //labm8/py/internal that is explicitly loaded as a plugin by
//labm8/py:test.

This is part of the ongoing process to eliminate conftest.py files
from the repo and to enable --noconftest arg in pytest.

github.com/ChrisCummins/phd/issues/70

Signed-off-by: format 2020.01.16 <github.com/ChrisCummins/format>

[Exported from 0136b42163265816ce8087a73cfcd27a76647ee2]
  • Loading branch information
ChrisCummins committed Jan 25, 2020
1 parent b2c77fd commit 7b3e7bd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,6 @@ python_grpc_library(
deps = ["//:config_pb"],
)

py_library(
name = "conftest",
testonly = 1,
srcs = ["conftest.py"],
visibility = ["//visibility:public"],
deps = [
"//:build_info",
"//labm8/py:app",
"//third_party/py/pytest",
],
)

# Golang.
# Gazelle directive:
# gazelle:prefix github.com/ChrisCummins/phd
Expand Down

0 comments on commit 7b3e7bd

Please sign in to comment.