You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for contributing. If creating a pull request please make sure to submit it to the `devel` branch and not to `master`.
2
-
Happy coding!
1
+
### Thanks for contributing!
2
+
3
+
# Branch
4
+
Create the pull request against the `devel` branch instead of the `master`.
5
+
6
+
# Quality
7
+
All pull requests are welcome regardless of quality. We will work together to review and improve the pull request.
8
+
9
+
Of course there are some steps that could be considered to improve the quality of the pull request and to support the process of review and development.
10
+
11
+
- Make sure your code follows [PEP 8 — Style Guide for Python Code](https://pep8.org/). You can use some [linting tools](https://en.wikipedia.org/wiki/Lint_(software)) to automate the process (e.g. [`pycodestyle`](https://pycodestyle.pycqa.org) or [`flake8`](https://github.com/pycqa/flake8)).
12
+
- Test your code using the existing test cases. For details read further.
13
+
- It would be great if you could create [`unittest`](https://docs.python.org/3/library/unittest.html)'s for your code.
14
+
15
+
# Unittesting
16
+
17
+
This project uses Python's default [`unittest`](https://docs.python.org/3/library/unittest.html) package. You can run all test cases via the *discover* feature when you run this in the projects root folder.
If you want to run a specific test case or method you need to *install* the package first. It is recommended to use a virtual environment and the `--editable` flag of `pip`. Run this in the projects root folder:
32
+
```sh
33
+
python3 -m pip install --editable .
34
+
```
35
+
Please read further to understand the consequences of `--editable`.
36
+
-["pip documentation - Local project installs - Editable installs"](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs)
37
+
-["When would the -e, --editable option be useful with pip install?"](https://stackoverflow.com/q/35064426/4865723)
0 commit comments