diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 54337c2..486b324 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,6 +1,5 @@ -Thank you for considering contributing to ``pymc-learn``! This project is intended to be a space where anyone can share models they've built. - -Please read these guidelines before submitting anything to the project. As of the first release, I'm the only person working on this project so respecting these guidelines will help me get back to you more quickly. +Thank you for considering contributing to ``pymc-learn``! Please read these +guidelines before submitting anything to the project. Some ways to contribute: @@ -62,7 +61,7 @@ in case there have been any changes: git fetch upstream git rebase upstream/master -Then push the changes to your Gitlab account with: +Then push the changes to your Github account with: .. code-block:: bash @@ -75,8 +74,8 @@ Pull Request Checklist ................................ - Ensure your code has followed the Style Guidelines below -- Make sure you have written unittests where appropriate -- Make sure the unittests pass +- Make sure you have written tests where appropriate +- Make sure the tests pass .. code-block:: bash @@ -104,11 +103,18 @@ For the most part, this library follows PEP8 with a couple of exceptions. Notes: - Indent with 4 spaces -- Lines should be a maximum of 80 characters long +- Lines can be 80 characters long - Docstrings should be written as numpy docstrings - Your code should be Python 3 compatible - When in doubt, follow the style of the existing code +Contact +............. + +To report an issue with ``pymc-learn`` please use the `issue tracker `__. + +Finally, if you need to get in touch for information about the project, `send us an e-mail `__. + Transitioning from PyMC3 to PyMC4 ----------------------------------- diff --git a/docs/develop.rst b/docs/develop.rst index 8202cc4..b1ed321 100644 --- a/docs/develop.rst +++ b/docs/develop.rst @@ -1,9 +1,8 @@ Contributing ============= -Thank you for considering contributing to ``pymc-learn``! This project is intended to be a space where anyone can share models they've built. - -Please read these guidelines before submitting anything to the project. As of the first release, I'm the only person working on this project so respecting these guidelines will help me get back to you more quickly. +Thank you for considering contributing to ``pymc-learn``! Please read these +guidelines before submitting anything to the project. Some ways to contribute: @@ -65,7 +64,7 @@ in case there have been any changes: git fetch upstream git rebase upstream/master -Then push the changes to your Gitlab account with: +Then push the changes to your Github account with: .. code-block:: bash @@ -78,13 +77,13 @@ Pull Request Checklist ................................ - Ensure your code has followed the Style Guidelines below -- Make sure you have written unittests where appropriate -- Make sure the unittests pass +- Make sure you have written tests where appropriate +- Make sure the tests pass .. code-block:: bash conda activate myenv - python -m unittest discover -cv + python -m pytest NOTE: On Windows, in your Anaconda Prompt, run ``activate myenv``. @@ -107,7 +106,7 @@ For the most part, this library follows PEP8 with a couple of exceptions. Notes: - Indent with 4 spaces -- Lines can be 120 characters long +- Lines can be 80 characters long - Docstrings should be written as numpy docstrings - Your code should be Python 3 compatible - When in doubt, follow the style of the existing code