PythonPredictions / cobra

A Python package to build predictive linear and logistic regression models focused on performance and interpretation
https://pythonpredictions.github.io/cobra.io
MIT License
30 stars 6 forks source link

Improve contributing documentation & add recording #153

Open sandervh14 opened 1 year ago

sandervh14 commented 1 year ago

Task Title

Task: Improve contributing documentation & add recording

Task Description

This task bundles material to be merged within the contribution guidelines. Let's use the first milestone of March to also get these guidelines more clear and extensive, so everyone can get started well.

Rapidly storing loose notes for this from the work done yesterday and today here.

1.  How to make an issue on GitHub
2.  How to create a branch
3.  How to pull a branch and make changes to it
4.  How to apply best practices (run black formatter, check for spelling mistakes, … )
5.  Push the branch. 
6.  If the issue is resolved how to create a pull request and assign someone
7.  How to make changes again if necessary.
8.  How to merge and delete the branch if everything has been approved
  1. pushing ==> Black linter & CI/CD (github actions): development_CI.yaml - runs Pylint and pytest whenever we push to develop. 5b. Contributing guidelines (https://github.com/PythonPredictions/cobra/wiki/Contributing-guidelines-&-workflows) o Cobra development style suggestions 5c. Unit testing & mocking (pip install pytest-mock) o how to work with the branches and unit tests in Pycharm

  2. Working on the tutorials / documentation

  3. The Cobra sharepoint folder, its structure and additional helpful material like Geerts paper. => Every Cobra developer should have studied the DFT presentation about Cobra.

  4. Releasing: merging with main, version number increase respecting semantic versioning (https://semver.org/), publishing the new package version (https://docs.github.com/en/actions/guides/building-and-testing-python#publishing-to-package-registries + Our PyPI account is python-admin (see our internal company wiki for access: https://tobius365.sharepoint.com/sites/Tobania.DataWiki/SitePages/Cobra.aspx)). Or manual release: https://packaging.python.org/tutorials/packaging-projects/.

  5. hotfixes

pycharm & vscode configuration for integration of git, github, testing.

above procedure + created video => merge into https://github.com/PythonPredictions/cobra/wiki/Contributing-guidelines-&-workflows