Commit e0212a6
authored
Just ran
<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 32ccfc2</samp>
### Summary
🎨📝🤖
<!--
1. 🎨 - This emoji is often used to indicate code style or formatting
improvements, such as changing the color codes, adding spaces, or fixing
indentation. It could be used for changes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 16, 17, and 18.
2. 📝 - This emoji is often used to indicate documentation updates, such
as improving the markdown formatting, adding or removing sections, or
fixing typos. It could be used for changes 15 and 19.
3. 🤖 - This emoji is often used to indicate changes related to bots or
automation, such as adding or modifying bot logic, handling bot events,
or configuring bot settings. It could be used for changes 10, 16, 17,
and 18.
-->
This pull request applies various minor code formatting and style
improvements to the TypeScript and JSX files in the `torchci`
repository, as well as some markdown formatting fixes to the
documentation files. The purpose of these changes is to enhance the
readability, consistency, and quality of the code and the documentation.
> _We are the code warriors, fighting for the style_
> _We break the lines and add the semicolons, to make the code
worthwhile_
> _We follow the guides and fix the issues, to avoid the doom and
despair_
> _We improve the readability and consistency, to show the world we
care_
### Walkthrough
* Simplify and improve the code formatting and style of the TypeScript
components in the `torchci/components` folder
([link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-8a80fbc8ad1a121c161cb109e5e870eb3134ef0aafad1c7515f121ff89fc66bbL17-R17),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-8a80fbc8ad1a121c161cb109e5e870eb3134ef0aafad1c7515f121ff89fc66bbL29-R34),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-5ac26ab69a5d9f07dfb3357050d731ce5b998f280530773b972e12cde475d280L52-R52),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-4b09d3593d1810df79348dec904d97d1e5adbcd5da97032f812b93e52c8e2d2eL6-R6),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-4b09d3593d1810df79348dec904d97d1e5adbcd5da97032f812b93e52c8e2d2eL30-R33),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-4b09d3593d1810df79348dec904d97d1e5adbcd5da97032f812b93e52c8e2d2eL64-R67),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-4b09d3593d1810df79348dec904d97d1e5adbcd5da97032f812b93e52c8e2d2eL71-R74),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-f4c9b47d71f75a84ec5127fe4cd176da1d697522e55a661242f38ded535b2d92L23-R23),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-81affb142346ee48a93add49a4bb0842218f8cbde94f1a2b333db39a0602cf57L6-R6),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-81affb142346ee48a93add49a4bb0842218f8cbde94f1a2b333db39a0602cf57L20-R40),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-81affb142346ee48a93add49a4bb0842218f8cbde94f1a2b333db39a0602cf57L50-R46),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-81affb142346ee48a93add49a4bb0842218f8cbde94f1a2b333db39a0602cf57L59-R57),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-bbf7dacc5b732e589c1d30c010dcaf2a01f8a92de50463e5ce955e55a64efb94L17-R17),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-ac846518926a6f5519a079779c896811109fe40c6a853aea3e3708fcbd1c1b60L10-R44),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-ac846518926a6f5519a079779c896811109fe40c6a853aea3e3708fcbd1c1b60L66-R77),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-ac846518926a6f5519a079779c896811109fe40c6a853aea3e3708fcbd1c1b60L75-R86),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-a2688e6b4d058bc2c20a50ba9101456ae3f15aefb4aafcd05ee6fe40d089b61bL2-R3),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-a2688e6b4d058bc2c20a50ba9101456ae3f15aefb4aafcd05ee6fe40d089b61bL15-R172))
* Add and improve the blank lines, line breaks, indentation, and link
references of the markdown documents in the `torchci/docs` and `torchci`
folders
([link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-f8ef068c3b2daac027ce6cfa9a0580e4fafcafd43932b2711cf04a5bc1460d67L43-R46),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-f8ef068c3b2daac027ce6cfa9a0580e4fafcafd43932b2711cf04a5bc1460d67R112),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-f8ef068c3b2daac027ce6cfa9a0580e4fafcafd43932b2711cf04a5bc1460d67R120),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L2-R4),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L28-R36),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190R44),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190R52),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L53-R58),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L61-R70),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L72-R80),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L82-R91),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-073864f18143fbc79c97b3e73a88a622e3effb589cb0d5f18b98637b9d09a190L91-R100))
* Add and improve the line breaks, indentation, semicolons, and
parentheses of the TypeScript files in the `torchci/lib/bot` folder
([link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-69a75b4a6c4e66b050b2b353864e5f98c62e2876c4a017a5cc487e24563d1481L12),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-e4f4665d0f3ac2d622dfc2b7e67e3a3eed8f700cb75d1b06a53e73ade8a214d5L84-R86),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L4),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L47-R49),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L105-R109),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L118-R130),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L151-R159),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L188-R194),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L206-R210),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L226-R236),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L234-R245),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L252-R266),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L261-R282),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L270-R295),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L302-R332),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-94e9ccdc8fb9199064513b2d4da9b18882aeb330e2a7962a1a61bfb45fa70bf7L315-R344),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-9243088b1169f0ca593d62c8f9267f023fe1e96d19bd310a93aa6f4e2fea1dd3L2-R6),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-9243088b1169f0ca593d62c8f9267f023fe1e96d19bd310a93aa6f4e2fea1dd3L145-R152),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-9243088b1169f0ca593d62c8f9267f023fe1e96d19bd310a93aa6f4e2fea1dd3L158-R171),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-9243088b1169f0ca593d62c8f9267f023fe1e96d19bd310a93aa6f4e2fea1dd3L168-R181),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-13a00d5da9dcd58533c8ed0f232841812cc813becd789b043216a11f6dd547c8L55-R57),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-9575795d240c509115ffdd60ce97304dfca7830cd507a3bc9fe8c46553aa8983L2-R12),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-9575795d240c509115ffdd60ce97304dfca7830cd507a3bc9fe8c46553aa8983L16-R37),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-1f9ab2bf1603b2f1ca01b027741b9c297beb80f2af7d0a189b85d54b4be3a623L29-R29),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL30-R33),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL167-R167),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL177-R177),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL183-R230),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL239-R256),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL259-R274),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-176d31b83f6ffe33b280475aab6ac84a545ae432e2055e7ec1fabc0d4d8c991aL270-R293),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-13d358a854f91c9e7c8cecf5acbff761357274670b585e1ab859840223c6bf63L18-R19),
[link](https://github.com/pytorch/test-infra/pull/4098/files?diff=unified&w=0#diff-c450c99d043f2eca202639410bd5b7c9d3f645c3d9b9128e2368ca856c11e7ffL20-R23))yarn format to lint (enjoy the github copilot poem) (#4098)1 parent 0d98d06 commit e0212a6
File tree
57 files changed
+2073
-1790
lines changed- torchci
- components
- metrics/panels
- docs
- lib
- bot
- pages
- [repoOwner]/[repoName]/issues
- api
- drci
- flaky-tests
- query/[collection]
- usage-log-aggregator
- failure
- hud/[repoOwner]/[repoName]/[branch]
- reliability/[repoOwner]/[repoName]
- testing_overhead
- test
- tts/[repoOwner]/[repoName]/[branch]
- scripts
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
57 files changed
+2073
-1790
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 6 | + | |
11 | 7 | | |
12 | 8 | | |
13 | 9 | | |
| |||
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
20 | | - | |
| 16 | + | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
25 | | - | |
| 21 | + | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
30 | | - | |
| 26 | + | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
35 | | - | |
| 31 | + | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
39 | | - | |
| 35 | + | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
44 | | - | |
| 40 | + | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
50 | | - | |
| 46 | + | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
| |||
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
59 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | | - | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | | - | |
| 35 | + | |
29 | 36 | | |
30 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | 43 | | |
33 | | - | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| |||
63 | 74 | | |
64 | 75 | | |
65 | 76 | | |
66 | | - | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| |||
72 | 83 | | |
73 | 84 | | |
74 | 85 | | |
75 | | - | |
| 86 | + | |
76 | 87 | | |
77 | 88 | | |
78 | 89 | | |
| |||
0 commit comments