@@ -27,8 +27,10 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
2727 ),
2828 "hook_config" : {
2929 "name" : "Validate Azure Pipelines" ,
30- "description" : "Validate Azure Pipelines config against the schema provided "
31- "by Microsoft" ,
30+ "description" : (
31+ "Validate Azure Pipelines config against the schema provided "
32+ "by Microsoft"
33+ ),
3234 "add_args" : ["--data-transform" , "azure-pipelines" ],
3335 "files" : r"^(\.)?azure-pipelines\.(yml|yaml)$" ,
3436 "types" : "yaml" ,
@@ -112,8 +114,10 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
112114 },
113115 },
114116 "gitlab-ci" : {
115- "url" : "https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts"
116- "/editor/schema/ci.json" ,
117+ "url" : (
118+ "https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts"
119+ "/editor/schema/ci.json"
120+ ),
117121 "hook_config" : {
118122 "name" : "Validate GitLab CI config" ,
119123 "add_args" : ["--data-transform" , "gitlab-ci" ],
@@ -130,8 +134,10 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
130134 ),
131135 "hook_config" : {
132136 "name" : "Validate ReadTheDocs Config" ,
133- "description" : "Validate ReadTheDocs config against the schema "
134- "provided by ReadTheDocs" ,
137+ "description" : (
138+ "Validate ReadTheDocs config against the schema "
139+ "provided by ReadTheDocs"
140+ ),
135141 "files" : r"^\.readthedocs\.(yml|yaml)$" ,
136142 "types" : "yaml" ,
137143 },
@@ -140,8 +146,10 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
140146 "url" : "https://docs.renovatebot.com/renovate-schema.json" ,
141147 "hook_config" : {
142148 "name" : "Validate Renovate Config" ,
143- "description" : "Validate Renovate config against the schema provided by "
144- "Renovate (does not support renovate config in package.json)" ,
149+ "description" : (
150+ "Validate Renovate config against the schema provided by "
151+ "Renovate (does not support renovate config in package.json)"
152+ ),
145153 "files" : [
146154 r"renovate\.(json|json5)" ,
147155 r"\.(github|gitlab)/renovate\.(json|json5)" ,
@@ -158,8 +166,10 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
158166 },
159167 },
160168 "woodpecker-ci" : {
161- "url" : "https://raw.githubusercontent.com/woodpecker-ci/woodpecker/main/pipeline"
162- "/frontend/yaml/linter/schema/schema.json" ,
169+ "url" : (
170+ "https://raw.githubusercontent.com/woodpecker-ci/woodpecker/main/pipeline"
171+ "/frontend/yaml/linter/schema/schema.json"
172+ ),
163173 "hook_config" : {
164174 "name" : "Validate Woodpecker Config" ,
165175 "files" : [
0 commit comments