We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d7f9e1 commit 3a0b3b9Copy full SHA for 3a0b3b9
1 file changed
taskcluster/kinds/lint/kind.yml
@@ -0,0 +1,23 @@
1
+loader: taskgraph.loader.transform:loader
2
+transforms:
3
+ - taskgraph.transforms.run
4
+ - taskgraph.transforms.task
5
+kind-dependencies:
6
+ - docker-image
7
+task-defaults:
8
+ worker-type: b-linux
9
+ worker:
10
+ docker-image: {in-tree: python}
11
+ max-run-time: 3600
12
+ run:
13
+ using: run-task
14
+ cwd: '{checkout}'
15
+tasks:
16
+ pre-commit:
17
+ description: Check code style with pre-commit hooks
18
19
+ command: >-
20
+ cd bot &&
21
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt &&
22
+ cd .. &&
23
+ pre-commit run -a --show-diff-on-failure
0 commit comments