-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLN:fix flake8 errors in test/test_publish.py #1153
CLN:fix flake8 errors in test/test_publish.py #1153
Conversation
test/test_publish.py
Outdated
@@ -305,11 +305,13 @@ def test_regression_non_monotonic(dvcs_type, tmpdir): | |||
tmpdir = str(tmpdir) | |||
now = datetime.datetime.now() | |||
|
|||
dates = [now + datetime.timedelta(days=i) for i in range(5)] + [now - datetime.timedelta(days=i) for i in range(5)] | |||
dates = [now + datetime.timedelta(days=i) | |||
for i in range(5)] + [now - datetime.timedelta(days=i)for i in range(5)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing space before for.
test/test_publish.py
Outdated
@@ -329,16 +331,16 @@ def test_regression_threshold(generate_result_dir): | |||
tools.run_asv_with_conf(conf, "publish") | |||
regressions = util.load_json(join(conf.html_dir, "regressions.json")) | |||
expected = {"regressions": [["time_func", _graph_path(repo.dvcs), {}, None, | |||
2.0, 1.0, [[None, 5, 1.0, 1.1], [None, 10, 1.1, 2.0]], | |||
]]} | |||
2.0, 1.0, [[None, 5, 1.0, 1.1], [None, 10, 1.1, 2.0]], ]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.0, 1.0, [[None, 5, 1.0, 1.1], [None, 10, 1.1, 2.0]], ]] | |
2.0, 1.0, [[None, 5, 1.0, 1.1], [None, 10, 1.1, 2.0]]]]} |
test/test_compare.py
Outdated
@@ -98,7 +98,7 @@ | |||
REFERENCE_ONLY_CHANGED = """ | |||
before after ratio | |||
[22b920c6] [fcf8c079] | |||
<name1> <name2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert changes to this file for now, and keep it in excluded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok great,thanks @datapythonista noted
@datapythonista this PR is ready for review |
Thanks @dorothykiz1, very nice, good to see the exclude list groomed. |
xref #1042