File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 77
88def _get_rule_config (rule_name ):
99 rule_config = None
10- print (rule_name )
1110 config_file_path = os .path .dirname (os .path .abspath (__file__ )) + "/" + RULE_CONFIG_FILE
12- print (config_file_path )
1311
1412 if os .path .exists (config_file_path ):
1513 with open (config_file_path ) as json_data :
Original file line number Diff line number Diff line change @@ -59,8 +59,10 @@ passenv =
5959# Can be used to specify which tests to run, e.g.: tox -- -s
6060# TODO: Remove pip install python-dateutil==2.8.0 once botocore no longer requires a pinned version:
6161# https://github.com/boto/botocore/issues/1872
62+ # TODO-reinvent-2019: Remove pip install tests/data/smdebug_rulesconfig-0.1.2-py2.py3-none-any.whl once package is in PyPI
6263commands =
6364 pip install python-dateutil ==2.8.0
65+ pip install src/sagemaker/smdebug_rulesconfig-0.1.2-py2.py3-none-any.whl
6466 coverage run --source sagemaker -m pytest {posargs}
6567 {env:IGNORE_COVERAGE:} coverage report --fail-under =84 --omit */tensorflow/tensorflow_serving/*
6668extras = test
@@ -102,6 +104,7 @@ install_command = python -m pip install --upgrade -I {packages}
102104# Based on: https://github.com/rtfd/readthedocs.org/blob/8f0c78dde5edcc85acf90462a8518735a25482d3/readthedocs/doc_builder/python_environments.py#L280
103105# TODO: Remove pip install python-dateutil==2.8.0 once botocore no longer requires a pinned version:
104106# https://github.com/boto/botocore/issues/1872
107+ # TODO-reinvent-2019: Remove pip install ../tests/data/smdebug_rulesconfig-0.4a0-py2.py3-none-any.whl once package is in PyPI
105108deps =
106109 Pygments ==2.2.0
107110 setuptools<40
@@ -119,6 +122,7 @@ deps =
119122# TODO: Remove pip install python-dateutil==2.8.0 once botocore no longer requires a pinned version
120123commands =
121124 pip install python-dateutil ==2.8.0
125+ pip install ../src/sagemaker/smdebug_rulesconfig-0.1.2-py2.py3-none-any.whl
122126 pip install --exists-action =w -r requirements.txt
123127 sphinx-build -T -W -b html -d _build/doctrees-readthedocs -D language =en . _build/html
124128
You can’t perform that action at this time.
0 commit comments