Skip to content

Commit 6a17572

Browse files
authored
Merge pull request #1 from aws/master
catch up with master branch
2 parents 80c3c13 + 2035034 commit 6a17572

File tree

879 files changed

+143627
-11357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

879 files changed

+143627
-11357
lines changed

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
concurrency = threading
33
omit = sagemaker/tests/*
44
timid = True
5+
disable_warnings = module-not-measured

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ application_import_names = sagemaker, tests
33
import-order-style = google
44
per-file-ignores =
55
tests/unit/test_tuner.py: F405
6+
src/sagemaker/config/config_schema.py: E501

.githooks/pre-push

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# this pre-push hook runs style checks and unit tests in python 3.6, 3.7, and 3.8 using tox.
2+
# this pre-push hook runs style checks and unit tests in python 3.8, 3.9, and 3.10 using tox.
33

44
set -e
55

@@ -12,5 +12,5 @@ start_time=`date +%s`
1212
tox -e sphinx,doc8 --parallel all
1313
./ci-scripts/displaytime.sh 'sphinx,doc8' $start_time
1414
start_time=`date +%s`
15-
tox -e py36,py37,py38,py39 --parallel all -- tests/unit
16-
./ci-scripts/displaytime.sh 'py36,py37,py38,py39 unit' $start_time
15+
tox -e py38,py39,py310 --parallel all -- tests/unit
16+
./ci-scripts/displaytime.sh 'py38,py39,py310 unit' $start_time

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _Put an `x` in the boxes that apply. You can also fill these out after creating
1111
#### General
1212

1313
- [ ] I have read the [CONTRIBUTING](https://github.com/aws/sagemaker-python-sdk/blob/master/CONTRIBUTING.md) doc
14-
- [ ] I certify that the changes I am introducing will be backword compatible, and I have discussed concerns about this, if any, with the Python SDK team
14+
- [ ] I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
1515
- [ ] I used the commit message format described in [CONTRIBUTING](https://github.com/aws/sagemaker-python-sdk/blob/master/CONTRIBUTING.md#committing-your-change)
1616
- [ ] I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
1717
- [ ] I have updated any necessary documentation, including [READMEs](https://github.com/aws/sagemaker-python-sdk/blob/master/README.rst) and [API docs](https://github.com/aws/sagemaker-python-sdk/tree/master/doc) (if appropriate)

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ venv/
2929
env/
3030
.vscode/
3131
**/tmp
32-
.python-version
32+
.python-version
33+
*.html
34+
**/_repack_script_launcher.sh
35+
tests/data/**/_repack_model.py
36+
tests/data/experiment/sagemaker-dev-1.0.tar.gz

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ unsafe-load-any-extension=no
4242
# A comma-separated list of package or module names from where C extensions may
4343
# be loaded. Extensions are loading into the active Python interpreter and may
4444
# run arbitrary code
45-
extension-pkg-whitelist=numpy
45+
extension-pkg-allow-list=numpy,math,_struct,_hashlib
4646

4747
# Allow optimization of some AST trees. This will activate a peephole AST
4848
# optimizer, which will apply various small optimizations. For instance, it can
@@ -94,6 +94,7 @@ disable=
9494
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
9595
super-with-arguments,
9696
raise-missing-from,
97+
E1136,
9798

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

0 commit comments

Comments
 (0)