Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ clean:

# lint check
lint:
pylint serpapi
python3 -m pylint serpapi

# test with Python 3
test:
pytest --cov=serpapi --cov-report html tests/*.py
python3 -m pytest --cov=serpapi --cov-report html tests/*.py

# install dependencies
#
Expand Down Expand Up @@ -58,12 +58,12 @@ oobt: build


check: oobt
twine check ${dist}
python3 -m twine check ${dist}

release: # check
twine upload ${dist}
python3 -m twine upload ${dist}

# run example only
# and display output (-s)
example:
pytest -s "tests/test_example.py::TestExample::test_async"
python3 -m pytest -s "tests/test_example.py::TestExample::test_async"
Loading