Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.23 KB

CONTRIBUTING.md

File metadata and controls

55 lines (34 loc) · 1.23 KB

Contributing to Fargonaut

Contributions to Fargonaut are welcome.

If you have a suggestion, please open an issue describing in detail the change you would like to be made.

Similarly, if you have found a bug or a mistake, please open an issue describing this in detail.

If you would like to contribute code, please:

  1. Open an issue to detail the change/addition you wish to make, unless one already exists

  2. Fork the repository

  3. Make a clone of your fork

  4. Install the development requirements

    $ python -m unittest discover tests
  5. Install the pre-commit hooks:

    $ python -m unittest discover tests
  6. Create a feature branch and make your changes

  7. Ensure that all tests pass

    • Run the tests via
    $ python -m unittest discover tests
    • Check the test coverage via
    $ coverage run --omit=tests/* -m unittest discover tests
    $ coverage report -m
  8. Ensure that the documentation builds successfully

    • Build the documentation via
    $ cd docs
    $ make html
  9. Open a pull request. In the pull request description, please describe in detail the changes your feature branch introduces, and reference the associated issue.