Skip to content

Commit

Permalink
chore(bigquery): remove duplicate test dependencies (#9503)
Browse files Browse the repository at this point in the history
* chore(bigquery): remove duplicate test dependencies

* Demote test_utils from LOCAL_DEPS in noxfile

The test_utils dependency is only nedeed for test sessions, but not
for some other nox sessions such as "lint" and "docs".
  • Loading branch information
plamut authored Oct 24, 2019
1 parent 8d598de commit 1f532f6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bigquery/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
import nox


LOCAL_DEPS = (
os.path.join("..", "api_core[grpc]"),
os.path.join("..", "core"),
os.path.join("..", "test_utils"),
)
LOCAL_DEPS = (os.path.join("..", "api_core[grpc]"), os.path.join("..", "core"))

BLACK_PATHS = ("docs", "google", "samples", "tests", "noxfile.py", "setup.py")

Expand All @@ -42,6 +38,7 @@ def default(session):
for local_dep in LOCAL_DEPS:
session.install("-e", local_dep)

session.install("-e", os.path.join("..", "test_utils"))
dev_install = ".[all]"
session.install("-e", dev_install)

Expand Down

0 comments on commit 1f532f6

Please sign in to comment.