Skip to content

Commit e4474fa

Browse files
committed
pylint
1 parent dc5ac8f commit e4474fa

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

src/sagemaker/modules/hyperparameters.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You
4+
# may not use this file except in compliance with the License. A copy of
5+
# the License is located at
6+
#
7+
# http://aws.amazon.com/apache2.0/
8+
#
9+
# or in the "license" file accompanying this file. This file is
10+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11+
# ANY KIND, either express or implied. See the License for the specific
12+
# language governing permissions and limitations under the License.
13+
"""Hyperparameters class module."""
14+
from __future__ import absolute_import
15+
116
import os
217
import json
318
import dataclasses

src/sagemaker/modules/train/model_trainer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
import os
1818
import json
1919
import shutil
20-
import yaml
2120
from tempfile import TemporaryDirectory
22-
2321
from typing import Optional, List, Union, Dict, Any, ClassVar
22+
import yaml
2423

2524
from graphene.utils.str_converters import to_camel_case, to_snake_case
2625

0 commit comments

Comments
 (0)