-
Notifications
You must be signed in to change notification settings - Fork 192
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
Fixes #1719 - Removes unused issues.db from the code #1720
Conversation
- pep257 for docstrings Issue webcompat#1473 - order of imports - Adding nopep8 for import
- removes the initialisation for issues.db - removes the backup feature for issues.db - rearrange the logic for testing mode and checking dependencies
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.
Just one minor question about import order... feel free to merge after fixing (or answering why it doesn't need to be fixed).
@@ -4,15 +4,18 @@ | |||
# License, v. 2.0. If a copy of the MPL was not distributed with this | |||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |||
|
|||
"""Databases initialization.""" | |||
|
|||
from hashlib import sha512 |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
# in test mode everything must be mocked, | ||
# so there is no external api communication. | ||
config_validator() | ||
app.run(host='localhost') |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@miketaylr It's mergeable. :) |
(merged myself because @miketaylr is traveling and approved.) |
@miketaylr r?