Skip to content

Commit 487db97

Browse files
author
Takashi Matsuo
authored
chore: some lint fixes [(#3750)](GoogleCloudPlatform/python-docs-samples#3750)
1 parent 3f31e04 commit 487db97

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

samples/tables/dataset_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
17-
import pytest
16+
import os
1817
import random
1918
import string
20-
import os
2119
import time
2220

2321
from google.api_core import exceptions
22+
import pytest
2423

2524
import automl_tables_dataset
2625

26+
2727
PROJECT = os.environ["GCLOUD_PROJECT"]
2828
REGION = "us-central1"
2929
STATIC_DATASET = "do_not_delete_this_table"

samples/tables/model_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
16+
import os
1717
import random
1818
import string
19-
import os
2019
import time
2120

2221
from google.api_core import exceptions
2322

2423
import automl_tables_model
2524
import dataset_test
2625

26+
2727
PROJECT = os.environ["GCLOUD_PROJECT"]
2828
REGION = "us-central1"
2929
STATIC_MODEL = "do_not_delete_this_model_0"

samples/tables/predict_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818

1919
from google.cloud.automl_v1beta1.gapic import enums
2020

21-
import automl_tables_predict
2221
import automl_tables_model
22+
import automl_tables_predict
2323
import model_test
2424

25+
2526
PROJECT = os.environ["GCLOUD_PROJECT"]
2627
REGION = "us-central1"
2728
STATIC_MODEL = model_test.STATIC_MODEL

0 commit comments

Comments
 (0)