-
Notifications
You must be signed in to change notification settings - Fork 2k
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
pydocstyle for log.py #999
Conversation
cookiecutter/log.py
Outdated
@@ -18,6 +20,11 @@ | |||
|
|||
|
|||
def configure_logger(stream_level='DEBUG', debug_file=None): | |||
"""Configure logging for cookiecutter. | |||
|
|||
Set up logging to stdout with given level and with DEBUG level for loggin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo logging
cookiecutter/log.py
Outdated
"""Configure logging for cookiecutter. | ||
|
||
Set up logging to stdout with given level and with DEBUG level for loggin | ||
to file if debug_file given |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing .
@hackebrot |
Codecov Report
@@ Coverage Diff @@
## master #999 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 18 18
Lines 780 781 +1
=====================================
+ Hits 780 781 +1
Continue to review full report at Codecov.
|
cookiecutter/log.py
Outdated
@@ -1,5 +1,7 @@ | |||
# -*- coding: utf-8 -*- | |||
|
|||
"""Module for up logging set up.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The grammar isn't correct. What are you trying to say?
Module for setting up logging.
Thank you for your contribution @meahow! 🙇 |
This is for #742
I changed the format of the docstrings for cookiecutter/log.py to follow pep257 style