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

Log-verbosity #4

Merged
merged 3 commits into from Dec 18, 2021
Merged

Log-verbosity #4

merged 3 commits into from Dec 18, 2021

Conversation

bart6114
Copy link
Member

Package uses logging functionalty but introduces a "verbose" concept where loglevel INFO suddendly becomes more verbose. This is a small PR that switches log level level to DEBUG when --verbose flag is passed by the user.

add func that allows to switch to debug loglevel mode if verbose mode is requested
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2021

Codecov Report

Merging #4 (1cdf21c) into main (3e84491) will increase coverage by 0.73%.
The diff coverage is 95.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   94.52%   95.26%   +0.73%     
==========================================
  Files          14       14              
  Lines         585      591       +6     
==========================================
+ Hits          553      563      +10     
+ Misses         32       28       -4     
Impacted Files Coverage Δ
databooks/conflicts.py 92.30% <83.33%> (+5.46%) ⬆️
databooks/common.py 100.00% <100.00%> (ø)
databooks/metadata.py 92.59% <100.00%> (+6.87%) ⬆️
tests/test_metadata.py 100.00% <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 3e84491...1cdf21c. Read the comment docs.

@murilo-cunha
Copy link
Member

Thanks for the PR. I like the changes! I left some minor pedantic requests 😊.

Copy link
Member

@murilo-cunha murilo-cunha left a comment

Choose a reason for hiding this comment

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

Looks good! Just left minor things on databooks/common.py

databooks/common.py Show resolved Hide resolved
databooks/common.py Outdated Show resolved Hide resolved
Copy link
Member

@murilo-cunha murilo-cunha left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks!

@murilo-cunha murilo-cunha merged commit a490c90 into main Dec 18, 2021
@murilo-cunha murilo-cunha deleted the log-verbosity branch December 18, 2021 20:57
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.

None yet

3 participants