Skip to content

Show read cfg files in DEBUG mode only; change default testing mode to DEBUG #296

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

Merged
merged 5 commits into from
Aug 15, 2020
Merged

Show read cfg files in DEBUG mode only; change default testing mode to DEBUG #296

merged 5 commits into from
Aug 15, 2020

Conversation

Aathish04
Copy link
Member

@Aathish04 Aathish04 commented Aug 15, 2020

List of Changes

  • Made the Read Configuration Files message into a debug log rather than an info log.
  • Set verbose = DEBUG in all tests related to cfg files.
  • Edited tests/test_logging/expected.txt to account for the fact that debug messages will also appear.

Motivation

Fixes #287

Testing Status

Pytest exits with 0 errors.

Further Comments

Should we rename verbose to verbosity? verbose makes it seem like it's a boolean value, rather than multiple levels.

Acknowledgement

@Aathish04 Aathish04 added the enhancement Additions and improvements in general label Aug 15, 2020
Copy link
Member

@huguesdevimeux huguesdevimeux left a comment

Choose a reason for hiding this comment

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

SGTM!

Btw I agree, we should change verbose to verbosity.

@Aathish04
Copy link
Member Author

Btw I agree, we should change verbose to verbosity.

Alright, that's been changed. I'll revert it if anyone has any objections.

Mentioning @leotrs, since this PR fixes the issue he opened and @azarzadavila since they added the verbose option.

@leotrs leotrs merged commit 3489ea7 into ManimCommunity:master Aug 15, 2020
@Aathish04 Aathish04 deleted the show_cfg_in_debug_only branch August 15, 2020 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additions and improvements in general
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't show the config files every time
4 participants