Closed Semo closed 2 years ago
Hi @Semo,
Have you followed all the steps here? https://github.com/joowani/kq/blob/main/CONTRIBUTING.md
The pip install -e .[dev]
should install all the dependencies for development, including pytest.
If you're using virtual env, I'd recommend you double check that as well.
I did. (Hopefully)
git clone
and cd'ing into it. OKpython3 -m venv kq_dev
OKsource ./kq_dev/bin/activate
OKpip install -e .
OKpip install pre-commit
OKpodman run -d -p 9092:9092 -e ADV_HOST=127.0.0.1 lensesio/fast-data-dev
OKpy.test --cov=kq --cov-report=html
FAILSIn step 3 pip install -e .[dev]
--> no matches found: .[dev]
, therefore I left it empty.
Did you run pip install -e .[dev]
in the kq repository folder? You can just manually install pytest by running the following in your venv:
pip install pytest pytest-cov
Yes I ran it in the kq repo folder, which is made, when cloned from Github, where Contibuting.md and README.md and stuff is residing.
I'll use the command you gave me.
EDIT: The manual command worked fine. Thank you.
I wanted to contribute some code.
py.test --cov=kq --cov-report=html
did not work for me. Is there something I missed? Command not found. It's my first try. All previous steps described worked fine.