justheuristic 5 жил өмнө
parent
commit
18bca6731e
1 өөрчлөгдсөн 15 нэмэгдсэн , 6 устгасан
  1. 15 6
      CONTRIBUTING.md

+ 15 - 6
CONTRIBUTING.md

@@ -1,12 +1,21 @@
 
 
+
+### Rules for collaborating:
 Tesseract is still in the early stage of development, we expect only a handful of collaborators with individual roles.
 Tesseract is still in the early stage of development, we expect only a handful of collaborators with individual roles.
 
 
-__Rules for collaborating:__
-1. To avoid duplicating work, please contact us *before* you write any code:
-  * Report bugs and propose new features via issues. We don't have templates at this point;
-  * If you decide to implement a feature or fix a bug, leave a comment in the appropriate issue or create a new one;
-2. The codebase must follow [PEP8](https://www.python.org/dev/peps/pep-0008/). We recommend using pycharm builtin linter;
-3. We encourage everyone to follow [Contributor Convent v2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct/) in their communication.
+1. Before you write any code, please contact us to avoid duplicate work:
+   * Report bugs and propose new features via issues. We don't have templates at this point;
+   * If you decide to implement a feature or fix a bug, leave a comment in the appropriate issue or create a new one;
+   * Please follow [Contributor Convent v2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct/).
+2. When you code, follow the best practices:
+   * We use [GitFlow](https://datasift.github.io/gitflow/IntroducingGitFlow.html)-style development;
+   * The code itself must follow [PEP8](https://www.python.org/dev/peps/pep-0008/). We recommend using pycharm builtin linter;
+   * We highly encourage the use of typing, where applicable; If not applicable, use other tools like docstrings;
+3. After you write the code, make sure others can use it:
+   * Any function exposed to a user must have a docstring compatible with [sphinx](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html);
+   * For new features, please write test(s) to make sure your functionality won't be broken by subsequent changes;
+   * If you face any challenges or want feedback, please submit pull request early with a [WIP] tag = work in progress.
+
 
 
 
 
 ### Tips & tricks
 ### Tips & tricks