Thank you for considering contributing to MiADE!
This project and everyone participating in it is governed by the MiADE Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].
INSERT LINK TO SOME SORT OF FORUM
You can find a list of dependencies in our pyproject.toml file. MiADE is compatible with Python 3.8 and above.
To install the project with the dev dependencies, run:
pip install -e .[dev]
The -e
flag sets the install to auto-update, useful when developing.
MiADE uses pytest, which can be run with:
pytest ./tests/*
Remember, if using a virtual environment, to install pytest within your environment itself, otherwise you will be using the system python install of pytest, which will use system python and will not find your modules.
We use ruff for linting and formatting. Run:
ruff format
ruff check --fix
- Check the documentation for tips on how to fix the issue on your own.
- Determine which repository the problem should be reported in - MiADE wraps around MedCAT, so if you encounter an issue related to MedCAT models, it is better to report it to these folks!
- Check if the issue has already been reported. If it has and the issue is still open, add a comment to the existing issue instead of opening a new one.
Bugs are tracked as GitHub issues. Explain the problem and include additional details to help maintainers reproduce the problem:
- Use a clear and descriptive title for the issue to identify the problem.
- Describe the exact steps which reproduce the problem in as many details as possible.
- Provide specific examples to demonstrate the steps. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples.
Unsure where to begin contributing to MiADE? You can start by looking through these beginner
and help-wanted
issues:
- Good first issues - issues which should only require a few lines of code, and a test or two.
- Help wanted issues - issues which should be a bit more involved than
beginner
issues.
The process described here has several goals:
- Maintain MiADE's quality
- Fix problems that are important to users
- Engage the community in working toward the best possible version of MiADE
- Enable a sustainable system for MiADE's maintainers to review contributions
Please follow these steps to have your contribution considered by the maintainers:
- Follow all instructions in the template
- Follow the styleguides
- After you submit your pull request, verify that all tests are passing
We use Google Python style docstring.
Versioning is performed through git tags, which should follow the semantic versioning approach prefixed with a "v".
E.g.: v0.1.2-alpha
Thank you for reading through the contributing guide and for your interest in making MiADE better. We look forward to your contributions!