Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.24 KB

CONTRIBUTING.md

File metadata and controls

37 lines (28 loc) · 2.24 KB

Contributing to EBM_Utils

Thank you for contributing to EBM_Utils!

Pull Requests

We welcome your pull requests (PRs). For minor fixes (e.g., documentation improvements), feel free to submit a PR directly. If you would like to implement a new feature or a bug, please make sure you (or someone else) has opened an appropriate issue first; in your PR, please mention the issue it addresses.

Creating a Pull Request

  1. Fork this repository.
  2. Make your code changes locally.
  3. Check the style using pylint and black:
    • pylint-badge ebm_utils pylint.svg calculates the current pylint score (requires pylint-badge).
    • black --check ebm_utils --target-version=py310 gives a list of files to be updated by black.
    • Picking a particular file foo.py from the list above, I run black ebm_utils/foo.py --target-version=py310. This makes formatting changes to align with the Black style.
    • Manually inspect the changes with git diff ebm_utils/foo.py.
    • Re-run pylint-badge ebm_utils pyling.svg to re-calculate the pylint score, and re-create a badge with that score. Sanity check that pylint score did not decrease by making style changes with black.
  4. (Optional) Include your name in alphabetical order in ACKNOWLEDGEMENTS.md.
  5. Issue a PR to merge your changes.

Issues

We use GitHub issues to track bugs and feature requests. Before submitting an issue, please make sure:

  1. You have read the README and your question is NOT addressed there.
  2. You have done your best to ensure that your issue is NOT a duplicate of one of the previous issues.
  3. Your issue is either a bug (unexpected/undesirable behavior) or a feature request. If it is just a question, please ask it in the Discussions forum.

When submitting an issue, please make sure to use the appropriate template.

License

By contributing to EBM_Utils, you agree that your contributions will be licensed under the LICENSE file in the root directory of the source tree.