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

Add level option to setup_logging #116

Merged
merged 21 commits into from
Apr 3, 2024
Merged

Add level option to setup_logging #116

merged 21 commits into from
Apr 3, 2024

Conversation

PicoCentauri
Copy link
Collaborator

Replace Boolean debug option in setup_logging by more flexible integer level parameter. This allows downstream packages to use this function in a better way.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.94%. Comparing base (98adcf9) to head (8b8d595).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
+ Coverage   85.56%   85.94%   +0.37%     
==========================================
  Files           8        8              
  Lines         568      569       +1     
  Branches      119      120       +1     
==========================================
+ Hits          486      489       +3     
+ Misses         67       66       -1     
+ Partials       15       14       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/mdacli/logger.py Outdated Show resolved Hide resolved
@pep8speaks
Copy link

pep8speaks commented Mar 27, 2024

Hello @PicoCentauri! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 108:80: E501 line too long (89 > 79 characters)
Line 111:80: E501 line too long (82 > 79 characters)

Comment last updated at 2024-04-03 11:26:59 UTC

tests/run_tester Show resolved Hide resolved
tests/run_tester Outdated Show resolved Hide resolved
tests/tester/__main__.py Show resolved Hide resolved
tests/tester/tester_class.py Outdated Show resolved Hide resolved
@PicoCentauri PicoCentauri merged commit 4a1e53f into main Apr 3, 2024
40 checks passed
@PicoCentauri PicoCentauri deleted the logger-level branch April 3, 2024 12:01
PicoCentauri pushed a commit that referenced this pull request Apr 3, 2024
Add `level` option to `setup_logging ` (#116)
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.

4 participants