File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ wheels/
1313# venv
1414/.venv
1515
16- # PyCharm
17- .idea /
18-
1916# Backup files
2017** .~
2118* .swp
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 0.2.0" ,
3+ "configurations" : [
4+ {
5+ "name" : " Debug Examples" ,
6+ "type" : " debugpy" ,
7+ "request" : " launch" ,
8+ "module" : " pdfbaker" ,
9+ "args" : [" bake" , " examples/examples.yaml" ],
10+ "console" : " integratedTerminal"
11+ },
12+ {
13+ "name" : " Debug Tests" ,
14+ "type" : " debugpy" ,
15+ "request" : " launch" ,
16+ "module" : " pytest" ,
17+ "args" : [" -v" , " tests" ],
18+ "console" : " integratedTerminal"
19+ }
20+ ]
21+ }
22+
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 2.0.0" ,
3+ "tasks" : [
4+ {
5+ "label" : " Bake" ,
6+ "type" : " shell" ,
7+ "command" : " python -m pdfbaker bake ${input:configPath}" ,
8+ "group" : " build" ,
9+ "presentation" : {
10+ "reveal" : " always" ,
11+ "panel" : " new"
12+ }
13+ },
14+ {
15+ "label" : " Run Tests" ,
16+ "type" : " shell" ,
17+ "command" : " pytest -v tests" ,
18+ "group" : " test" ,
19+ "presentation" : {
20+ "reveal" : " always" ,
21+ "panel" : " new"
22+ }
23+ },
24+ {
25+ "label" : " Run Coverage" ,
26+ "type" : " shell" ,
27+ "command" : " pytest --cov=pdfbaker --cov-report=html" ,
28+ "group" : " test" ,
29+ "presentation" : {
30+ "reveal" : " always" ,
31+ "panel" : " new"
32+ }
33+ },
34+ {
35+ "label" : " View Coverage" ,
36+ "type" : " shell" ,
37+ "command" : " python -c \" import webbrowser; webbrowser.open('htmlcov/index.html')\" " ,
38+ "presentation" : {
39+ "reveal" : " never" ,
40+ "panel" : " new"
41+ }
42+ }
43+ ],
44+ "inputs" : [
45+ {
46+ "id" : " configPath" ,
47+ "type" : " promptString" ,
48+ "description" : " Path to main YAML config file" ,
49+ "default" : " examples/examples.yaml"
50+ }
51+ ]
52+ }
You can’t perform that action at this time.
0 commit comments