Skip to content

Commit 79a66d6

Browse files
authored
Merge branch 'master' into describe-hyperparameter
2 parents b775649 + dc444d7 commit 79a66d6

23 files changed

+624
-181
lines changed

.pylintrc

+10-9
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,22 @@ confidence=
7676
# --disable=W"
7777
disable=
7878
C0330, # Black disagrees with and explicitly violates this: https://github.com/python/black/issues/48
79-
too-many-locals,
79+
abstract-method, # TODO: Fix abstract methods
8080
arguments-differ,
81-
too-many-lines,
81+
cyclic-import, # TODO: Resolve cyclic imports
8282
fixme,
83-
too-many-arguments,
8483
invalid-name,
85-
too-many-instance-attributes,
86-
len-as-condition, # TODO: Enable this check once pylint 2.4.0 is released and consumed due to the fix in https://github.com/PyCQA/pylint/issues/2684
8784
import-error, # Since we run Pylint before any of our builds in tox, this will always fail
88-
protected-access, # TODO: Fix access
89-
abstract-method, # TODO: Fix abstract methods
90-
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
91-
cyclic-import, # TODO: Resolve cyclic imports
85+
import-outside-toplevel,
9286
no-self-use, # TODO: Convert methods to functions where appropriate
87+
protected-access, # TODO: Fix access
88+
signature-differs, # TODO: fix kwargs
89+
too-many-arguments,
9390
too-many-branches, # TODO: Simplify or ignore as appropriate
91+
too-many-instance-attributes,
92+
too-many-lines,
93+
too-many-locals,
94+
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
9495

9596
[REPORTS]
9697
# Set the output format. Available formats are text, parseable, colorized, msvs

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## v1.64.0 (2020-06-15)
4+
5+
### Features
6+
7+
* add support for SKLearn 0.23
8+
9+
## v1.63.0 (2020-06-12)
10+
11+
### Features
12+
13+
* Allow selecting inference response content for automl generated models
14+
* Support for multi variant endpoint invocation with target variant param
15+
16+
### Documentation Changes
17+
18+
* improve docstring and remove unavailable links
19+
320
## v1.62.0 (2020-06-11)
421

522
### Features

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.62.1.dev0
1+
1.64.1.dev0

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ def read_version():
6060
extras["test"] = (
6161
[
6262
extras["all"],
63-
"tox==3.13.1",
63+
"tox==3.15.1",
6464
"flake8",
65-
"pytest==4.4.1",
65+
"pytest==4.6.10",
6666
"pytest-cov",
6767
"pytest-rerunfailures",
6868
"pytest-xdist",
6969
"mock",
7070
"contextlib2",
7171
"awslogs",
72-
"black==19.3b0 ; python_version >= '3.6'",
72+
"black==19.10b0 ; python_version >= '3.6'",
7373
"stopit==1.1.2",
7474
"apache-airflow==1.10.5",
7575
"fabric>=2.0",

src/sagemaker/amazon/common.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ def read_recordio(f):
261261
"""
262262
while True:
263263
try:
264-
read_kmagic, = struct.unpack("I", f.read(4))
264+
(read_kmagic,) = struct.unpack("I", f.read(4))
265265
except struct.error:
266266
return
267267
assert read_kmagic == _kmagic
268-
len_record, = struct.unpack("I", f.read(4))
268+
(len_record,) = struct.unpack("I", f.read(4))
269269
pad = (((len_record + 3) >> 2) << 2) - len_record
270270
yield f.read(len_record)
271271
if pad:

0 commit comments

Comments
 (0)