-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathprojects-config.json
More file actions
96 lines (96 loc) · 2.66 KB
/
projects-config.json
File metadata and controls
96 lines (96 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"projects":[
{
"name": "abstractions",
"packageName": "kiota_abstractions",
"path": "./packages/abstractions/"
},
{
"name": "authentication azure",
"packageName": "kiota_authentication_azure",
"path": "./packages/authentication/azure/"
},
{
"name": "http - httpx",
"packageName": "kiota_http",
"path": "./packages/http/httpx/"
},
{
"name": "serialization - json",
"packageName": "kiota_serialization_json",
"path": "./packages/serialization/json/"
},
{
"name": "serialization - form",
"packageName": "kiota_serialization_form",
"path": "./packages/serialization/form/"
},
{
"name": "serialization - text",
"packageName": "kiota_serialization_text",
"path": "./packages/serialization/text/"
},
{
"name": "serialization - multipart",
"packageName": "kiota_serialization_multipart",
"path": "./packages/serialization/multipart/"
},
{
"name": "bundle",
"packageName": "kiota_bundle",
"path": "./packages/bundle/"
}
],
"commands":[
{
"name": "install-deps",
"description": "install dependencies",
"command": "poetry install"
},
{
"name": "format",
"description": "Fix code format with yapf",
"command": "poetry run yapf -ir {projectName}"
},
{
"name": "check-format",
"description": "Check code format with yapf",
"command": "poetry run yapf -dr {projectName}"
},
{
"name": "check-imports",
"description": "Check import order with isort",
"command": "poetry run isort {projectName}"
},
{
"name": "lint",
"description": "Check lint with pylint",
"command": "poetry run pylint {projectName} --disable=W --rcfile=.pylintrc"
},
{
"name": "check-types",
"description": "Check types with mypy",
"command": "poetry run mypy {projectName}"
},
{
"name": "test",
"description": "Check tests with pytest",
"command": "poetry run pytest"
},
{
"name": "check-all",
"description": "Check all with yapf, isort, pylint, mypy and pytest",
"command": "poetry run yapf -dr {projectName} && poetry run isort {projectName} && poetry run pylint {projectName} && poetry run mypy {projectName} && poetry run pytest {projectName}"
},
{
"name": "bump-minor",
"description": "Bump next minor version across projects",
"command": "poetry version minor"
},
{
"name": "bump-patch",
"description": "Bump to next patch version across projects",
"command": "poetry version patch"
}
]
}