First read the overall project contributing guidelines. These are all included in the qiskit documentation:
https://github.com/Qiskit/qiskit/blob/main/CONTRIBUTING.md
To join ecosystem you need to create submission issue and fill in all required details. That's it!
- Create new environment
conda create --name ecosystem python=3.9
- Activate the environment
conda activate ecosystem
- install dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt
- To run tests against the stable version of qiskit
python manager.py tests python_stable_tests <url_of_the github_repository> --python_version=py39 --run_name="stable"
- To run tests against the dev version of qiskit
python manager.py tests python_dev_tests <url_of_the github_repository> --python_version=py39 --run_name="dev"
- To run tests within repository
python manager.py tests python_standard_tests <url_of_the github_repository> --python_version=py39 --run_name="standard"
- Run for style checks
tox -elint
- Run for tests
tox -epy39
- Run coverage
tox -ecoverage
- Run black
tox -eblack
- To Fix the black violation
black <PATH_FILE_YOU_WANT_TO_FIX>
- Build the website:
tox -ewebsite
- Go to the
website/
folder in the root of your project and open upindex.html
in a browser
Please follow this link if this is your first time contributing to open source and/or you would like some guidance on how to create and/or merge pull requests.