File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- .PHONY : install
2- install :
3- python -m pip install --upgrade .
4-
51.PHONY : install-dev
62install-dev :
73 python -m pip install --upgrade --editable .[dev,test]
@@ -18,21 +14,11 @@ upgrade-dev:
1814coverage :
1915 coverage run -m pytest tests/
2016 coverage report -m
21- coverage html
22- @# This should work for most linux and windows users
23- @# python -c "import os;import webbrowser; webbrowser.open(f'{os.getcwd()}/htmlcov/index.html')"
24-
25- @# WSL users can use this (change Ubuntu-20.04 to your distro name)
26- python -c "import os;import webbrowser; webbrowser.open(f'file://wsl.localhost/Ubuntu-20.04{os.getcwd()}/htmlcov/index.html')"
2717
2818.PHONY : docker-test
2919docker-test :
30- docker build -t docker-test .
31- docker run --rm docker-test
32-
33- .PHONY : docker-clean
34- docker-clean :
35- docker system prune -f
20+ docker build -t pydocker-test .
21+ docker run --rm pydocker-test
3622
3723.PHONY : build-dist
3824build-dist :
You can’t perform that action at this time.
0 commit comments