osl-incubator / scicookie

Cookiecutter template for a Python package.
https://osl-incubator.github.io/scicookie
Other
11 stars 18 forks source link

Add Python CoC support #213

Closed d1vyanshu-kumar closed 4 months ago

d1vyanshu-kumar commented 4 months ago

Title: Addition of Python Code of Conduct Support

Description:

This pull request addresses the requirement outlined in issue #143. The task was to incorporate the Python Code of Conduct (CoC) as an option within the SciCookie project. The following modifications were made to achieve this:

  1. Updated CODE_OF_CONDUCT.md: A new section dedicated to the Python CoC was inserted between the # Scope and # Enforcement sections.

  2. Modified cookiecutter.json: A new variable python_coc was introduced with a default value of false. This allows users to decide whether to include the Python CoC when generating a new project.

  3. Added a Prompt in pre_gen_project.py: A prompt for the python_coc variable was added to the pre_gen_project.py script. This prompt is displayed to the user when they generate a new project, allowing them to choose whether to include the Python CoC.

Pull Request Checklists:

About this PR:

Author's Checklist:

Additional Information:

No additional information.

## Reviewer's Checklist

- [ ] Managed to Reproduce the Problem Locally from the `main` Branch
- [ ] Managed to Test the New Changes Locally
- [ ] Confirmed that the Issues Mentioned Were Fixed/Resolved

xmnlab commented 4 months ago

@d1vyanshu-kumar do you still want to move this forward?

d1vyanshu-kumar commented 4 months ago

@xmnlab Sorry,I am interested in this project but for now, I am contributing to another org for gsoc. After gsoc i am back on this project.

@d1vyanshu-kumar do you still want to move this forward?

xmnlab commented 4 months ago

thanks @d1vyanshu-kumar for the updates! thank you so much and good luck! hope to see you around! all the best