Skip to content

Commit 2279a4b

Browse files
committed
Merge branch 'master' into test-class-not-runnning
2 parents eb2cfd3 + 874b26b commit 2279a4b

File tree

5 files changed

+208
-431
lines changed

5 files changed

+208
-431
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
gi#########################################
1+
#########################################
22
# Editor temporary/working/backup files #
33
.#*
44
*\#*\#
@@ -19,6 +19,8 @@ gi#########################################
1919
.noseids
2020
.ipynb_checkpoints
2121
.tags
22+
.pytest_cache
23+
.testmondata
2224

2325
# Docs #
2426
########

.stickler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
linters:
2+
flake8:
3+
max-line-length: 79
4+
fixer: true
5+
fixers:
6+
enable: true

ci/requirements-3.5-0.18.1.pip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
google-auth==1.0.0
1+
google-auth==1.0.2
22
google-auth-oauthlib==0.0.1
33
mock
44
google-cloud-bigquery==0.29.0

pandas_gbq/gbq.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ def _check_google_client_version():
2929

3030
if (StrictVersion(_BIGQUERY_CLIENT_VERSION) <
3131
StrictVersion(bigquery_client_minimum_version)):
32-
raise ImportError('pandas requires google-cloud-bigquery >= {0} '
33-
'for Google BigQuery support, '
32+
raise ImportError('pandas-gbq requires google-cloud-bigquery >= {0}, '
3433
'current version {1}'
3534
.format(bigquery_client_minimum_version,
3635
_BIGQUERY_CLIENT_VERSION))
@@ -42,22 +41,19 @@ def _test_google_api_imports():
4241
from google_auth_oauthlib.flow import InstalledAppFlow # noqa
4342
except ImportError as ex:
4443
raise ImportError(
45-
'pandas requires google-auth-oauthlib for Google BigQuery '
46-
'support: {0}'.format(ex))
44+
'pandas-gbq requires google-auth-oauthlib: {0}'.format(ex))
4745

4846
try:
4947
import google.auth # noqa
5048
except ImportError as ex:
5149
raise ImportError(
52-
"pandas requires google-auth for Google BigQuery support: "
53-
"{0}".format(ex))
50+
"pandas-gbq requires google-auth: {0}".format(ex))
5451

5552
try:
5653
from google.cloud import bigquery # noqa
5754
except ImportError as ex:
5855
raise ImportError(
59-
"pandas requires google-cloud-python for Google BigQuery support: "
60-
"{0}".format(ex))
56+
"pandas-gbq requires google-cloud-bigquery: {0}".format(ex))
6157

6258
_check_google_client_version()
6359

0 commit comments

Comments
 (0)