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

Do not setup logging in libraries #233

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

dolfinus
Copy link
Contributor

I found that your library modifies logger settings.

This should be done explicitly by user or application which uses the library, but never library itself.

@codecov
Copy link

codecov bot commented Aug 19, 2023

Codecov Report

Merging #233 (845e473) into master (b81d5f1) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #233      +/-   ##
==========================================
- Coverage   99.07%   99.07%   -0.01%     
==========================================
  Files          24       24              
  Lines        5085     5078       -7     
==========================================
- Hits         5038     5031       -7     
  Misses         47       47              
Flag Coverage Δ
99.07% <ø> (-0.01%) ⬇️
py3.10 99.03% <ø> (-0.01%) ⬇️
py3.11 99.03% <ø> (-0.01%) ⬇️
py3.7 99.02% <ø> (-0.01%) ⬇️
py3.8 99.03% <ø> (-0.01%) ⬇️
py3.9 99.07% <ø> (-0.01%) ⬇️
x64 99.07% <ø> (-0.01%) ⬇️
x86 98.99% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/smbclient/__init__.py 100.00% <ø> (ø)
src/smbprotocol/__init__.py 100.00% <ø> (ø)

Copy link
Owner

@jborean93 jborean93 left a comment

Choose a reason for hiding this comment

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

Sorry for taking so long to get back to this one. The changes look good.

@jborean93 jborean93 merged commit f3fbe4f into jborean93:master Aug 19, 2023
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