1.Create new environment
conda create --name q-kernel-ops python=3.9
2. Activate the environment
conda activate q-kernel-ops
3. install dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt
- 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>
First read the overall project contributing guidelines. These are all included in the qiskit documentation:
https://qiskit.org/documentation/contributing_to_qiskit.html