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

Incorrect used DB #317

Merged
merged 6 commits into from
Jan 11, 2021
Merged

Incorrect used DB #317

merged 6 commits into from
Jan 11, 2021

Conversation

nicholasks
Copy link
Contributor

The used DB displayed is not the right when using a local DB --db among with --key.

Since --db overrides any external DB, safety should display "Using local DB" instead of "using pyup.io's DB". Users shouldn't use both parameters together but since we are displaying what was used, at least we should display the right one.

Copy link
Contributor

@rafaelpivato rafaelpivato left a comment

Choose a reason for hiding this comment

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

LGTM. Can you please rebase from master and add information to HISTORY?

@codecov
Copy link

codecov bot commented Jan 9, 2021

Codecov Report

Merging #317 (45a5ec9) into master (63e6b21) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #317   +/-   ##
=======================================
  Coverage   69.51%   69.51%           
=======================================
  Files           8        8           
  Lines         538      538           
=======================================
  Hits          374      374           
  Misses        164      164           
Impacted Files Coverage Δ
safety/formatter.py 50.87% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63e6b21...45a5ec9. Read the comment docs.

@nicholasks
Copy link
Contributor Author

LGTM. Can you please rebase from master and add information to HISTORY?

@rafaelpivato done!

@rafaelpivato rafaelpivato merged commit e09d12f into master Jan 11, 2021
@rafaelpivato rafaelpivato deleted the fix-using-local-db branch January 11, 2021 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants