-
Notifications
You must be signed in to change notification settings - Fork 2
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
Docstring fix #10
Docstring fix #10
Conversation
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.
Thanks for your contribution! I've got a few suggested changes, mostly related to the content of the docstrings.
...src/scripts/{{'' if cookiecutter.dependency_manager != 'pip' else 'freeze_dependencies.py'}}
Outdated
Show resolved
Hide resolved
….dependency_manager != 'pip' else 'freeze_dependencies.py'}} Co-authored-by: Dan Saattrup Nielsen <[email protected]>
Co-authored-by: Dan Saattrup Nielsen <[email protected]>
Co-authored-by: Dan Saattrup Nielsen <[email protected]>
I am trying to check that the new commits can run on install, but I realized that calling:
This downloads the template from the main branch. @saattrupdan do you know if one can call a specific git branch from cookiecutter? I tried:
but it doesn't seem to work |
@bourdeet It seems like you can specify the branch name with the
|
OK! the empty init.py files that caused the docstring issue were in the end not needed by the template, as they are created upon running I have pushed the changes, and I can install a test project with both pip and poetry without any issue. Good to merge! |
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.
LGTM!
When deploying a new project and running
make install
, I encounter two errors.Example setup command:
Example configuration from the prompt:
First error upon running
make install
:The first error can be avoided by adding a dot to the name
pre-commit-config.yaml
. When running make install again, I get a second error related to docstring formatting of some of the template files:I have added the missing docstring in the problematic file.