@@ -2,47 +2,47 @@ GLUE_PLUGINS=$(notdir $(wildcard pulp-glue-console/pulp_glue/*))
22CLI_PLUGINS =$(notdir $(wildcard pulpcore/cli/* ) )
33
44info :
5- @echo Pulp glue
6- @echo plugins : $(GLUE_PLUGINS )
7- @echo Pulp CLI
8- @echo plugins : $(CLI_PLUGINS )
5+ @echo Pulp glue
6+ @echo plugins: $(GLUE_PLUGINS )
7+ @echo Pulp CLI
8+ @echo plugins: $(CLI_PLUGINS )
99
1010build :
11- cd pulp-glue-console; pyproject-build -n
12- pyproject-build -n
11+ cd pulp-glue-console; pyproject-build -n
12+ pyproject-build -n
1313
1414black : format
1515
1616format :
17- isort .
18- cd pulp-glue-console; isort .
19- black .
17+ isort .
18+ cd pulp-glue-console; isort .
19+ black .
2020
2121lint :
22- find tests .ci -name '*.sh' -print0 | xargs -0 shellcheck -x
23- isort -c --diff .
24- cd pulp-glue-console; isort -c --diff .
25- black --diff --check .
26- flake8
27- .ci/scripts/check_cli_dependencies.py
28- .ci/scripts/check_click_for_mypy.py
29- MYPYPATH =pulp-glue-console mypy
30- cd pulp-glue-console; mypy
31- @echo "🙊 Code 🙈 LGTM 🙉 !"
22+ find tests .ci -name ' *.sh' -print0 | xargs -0 shellcheck -x
23+ isort -c --diff .
24+ cd pulp-glue-console; isort -c --diff .
25+ black --diff --check .
26+ flake8
27+ python3 .ci/scripts/check_cli_dependencies.py
28+ python3 .ci/scripts/check_click_for_mypy.py
29+ MYPYPATH=pulp-glue-console mypy
30+ cd pulp-glue-console; mypy
31+ @echo " 🙊 Code 🙈 LGTM 🙉 !"
3232
3333tests/cli.toml :
34- 35- @echo "In order to configure the tests to talk to your test server, you might need to edit $@ ."
34+ cp $@ .example $@
35+ @echo " In order to configure the tests to talk to your test server, you might need to edit $@ ."
3636
3737test : | tests/cli.toml
38- python3 -m pytest -v tests pulp-glue-console/tests
38+ python3 -m pytest -v tests pulp-glue-console/tests
3939
4040livetest : | tests/cli.toml
41- python3 -m pytest -v tests pulp-glue-console/tests -m live
41+ python3 -m pytest -v tests pulp-glue-console/tests -m live
4242
4343unittest :
44- python3 -m pytest -v tests pulp-glue-console/tests -m "not live"
44+ python3 -m pytest -v tests pulp-glue-console/tests -m " not live"
4545
4646unittest_glue :
47- python3 -m pytest -v pulp-glue-console/tests -m "not live"
47+ python3 -m pytest -v pulp-glue-console/tests -m " not live"
4848.PHONY : build info black lint test
0 commit comments