Contributions and issues are most welcome! All issues and pull requests are handled through github on the dls_controls repository. Also, please check for any existing issues before filing a new one. If you have a great idea but it involves big changes, please file a ticket before making a pull request! We want to make sure you don't spend your time coding something that might not fit the scope of the project.
To get the source source code and run the unit tests, run:
$ git clone git://github.com/dls-controls/versiongit.git $ cd versiongit $ pipenv install --dev $ pipenv run tests
While 100% code coverage does not make a library bug-free, it significantly reduces the number of easily caught bugs! Please make sure coverage remains the same or is improved by a pull request!
The code in this repository conforms to standards set by the following tools:
- black for code formatting
- flake8 for style checks
- flake8-import-order for import ordering
These tests will be run on code when running pipenv run tests
and also
automatically at check in. Please read the tool documentation for details
on how to fix the errors it reports.
Documentation is contained in the docs
directory and extracted from
docstrings of the API.
Docs follow the underlining convention:
Headling 1 (page title) ======================= Heading 2 --------- Heading 3 ~~~~~~~~~
You can build the docs from the project directory by running:
$ pipenv run docs $ firefox build/html/index.html
Before a new release, please go through the following checklist:
- Add a release note in CHANGELOG.rst
- Git tag the version with message from CHANGELOG
- Push to github and travis will make a release on pypi