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 7
7
8
8
def _get_rule_config (rule_name ):
9
9
rule_config = None
10
- print (rule_name )
11
10
config_file_path = os .path .dirname (os .path .abspath (__file__ )) + "/" + RULE_CONFIG_FILE
12
- print (config_file_path )
13
11
14
12
if os .path .exists (config_file_path ):
15
13
with open (config_file_path ) as json_data :
Original file line number Diff line number Diff line change @@ -59,8 +59,10 @@ passenv =
59
59
# Can be used to specify which tests to run, e.g.: tox -- -s
60
60
# TODO: Remove pip install python-dateutil==2.8.0 once botocore no longer requires a pinned version:
61
61
# 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
62
63
commands =
63
64
pip install python-dateutil ==2.8.0
65
+ pip install src/sagemaker/smdebug_rulesconfig-0.1.2-py2.py3-none-any.whl
64
66
coverage run --source sagemaker -m pytest {posargs}
65
67
{env:IGNORE_COVERAGE:} coverage report --fail-under =84 --omit */tensorflow/tensorflow_serving/*
66
68
extras = test
@@ -102,6 +104,7 @@ install_command = python -m pip install --upgrade -I {packages}
102
104
# Based on: https://github.com/rtfd/readthedocs.org/blob/8f0c78dde5edcc85acf90462a8518735a25482d3/readthedocs/doc_builder/python_environments.py#L280
103
105
# TODO: Remove pip install python-dateutil==2.8.0 once botocore no longer requires a pinned version:
104
106
# 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
105
108
deps =
106
109
Pygments ==2.2.0
107
110
setuptools<40
@@ -119,6 +122,7 @@ deps =
119
122
# TODO: Remove pip install python-dateutil==2.8.0 once botocore no longer requires a pinned version
120
123
commands =
121
124
pip install python-dateutil ==2.8.0
125
+ pip install ../src/sagemaker/smdebug_rulesconfig-0.1.2-py2.py3-none-any.whl
122
126
pip install --exists-action =w -r requirements.txt
123
127
sphinx-build -T -W -b html -d _build/doctrees-readthedocs -D language =en . _build/html
124
128
You can’t perform that action at this time.
0 commit comments