Skip to content
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

Fix E501 E266 E712 F821 in test_validate, test_validators, runcontrol, test_commands.py #1095

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

stevenhua0320
Copy link
Contributor

No description provided.

…validate, test_validators, runcontrol, test_commands.py
Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see inline comment.

@@ -38,9 +38,6 @@ def test_mongo_to_fs_python(make_mongo_to_fs_backup_db, make_mongodb):
main(["mongo-to-fs"])
except Exception as e:
print(e)
assert True == False
else:
assert True == True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think by deleting these lines you are changing behavior so it is probably not a good idea to change it.

If you simply chage the first to assert False and the second to assert True, does that remove the flake8 error? That would then not change the behavior.

Also, same for below.

@sbillinge sbillinge merged commit 5d9308b into regro:main Jul 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants