Commit 3488a75
committed
chore(generator): centralize mypy configuration and regenerate google-cloud-datastore POC (#17408)
> [!note]
> This is step one of a multi-step process. The work done here is
outlined below.
Additional steps (to be completed in other PRs) include:
> * generate the remaining **generated packages**
> * generate and/or post process **hybrid packages**
This work:
* Adds a centralized `mypy.ini` file at the root of the repository.
* Updates GAPIC generator templates to omit local `mypy.ini` and
dynamically resolve the root config via a `MYPY_CONFIG_FILE` constant.
* Removes `mypy.ini` replacements from `datastore-integration.yaml`
post-processing.
* Regenerates `google-cloud-datastore` using the updated generator
configurations to serve as a proof of concept.
> [!note]
> Work on strictly handwritten libraries is outside the scope of this PR
and can be found here:
#174091 parent 9cb3093 commit 3488a75
30 files changed
Lines changed: 112 additions & 253 deletions
File tree
- .librarian/generator-input/client-post-processing
- packages
- gapic-generator
- gapic
- ads-templates
- templates
- tests/integration/goldens
- asset
- credentials
- eventarc
- logging_internal
- logging
- redis_selective
- redis
- storagebatchoperations
- google-cloud-datastore
- google/cloud
- datastore_admin_v1
- datastore_v1
- testing
Lines changed: 0 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 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 | 42 | | |
79 | 43 | | |
80 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 17 | | |
26 | 18 | | |
27 | | - | |
| 19 | + | |
28 | 20 | | |
29 | 21 | | |
30 | | - | |
31 | | - | |
| 22 | + | |
32 | 23 | | |
33 | 24 | | |
34 | | - | |
35 | 25 | | |
36 | 26 | | |
| 27 | + | |
37 | 28 | | |
38 | 29 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 30 | + | |
| 31 | + | |
42 | 32 | | |
43 | | - | |
| 33 | + | |
| 34 | + | |
44 | 35 | | |
45 | | - | |
| 36 | + | |
| 37 | + | |
46 | 38 | | |
47 | | - | |
| 39 | + | |
| 40 | + | |
48 | 41 | | |
49 | | - | |
| 42 | + | |
| 43 | + | |
50 | 44 | | |
51 | | - | |
| 45 | + | |
| 46 | + | |
52 | 47 | | |
53 | | - | |
| 48 | + | |
| 49 | + | |
54 | 50 | | |
55 | | - | |
| 51 | + | |
| 52 | + | |
56 | 53 | | |
57 | 54 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 55 | + | |
| 56 | + | |
64 | 57 | | |
65 | | - | |
66 | | - | |
| 58 | + | |
| 59 | + | |
67 | 60 | | |
68 | 61 | | |
69 | 62 | | |
70 | | - | |
| 63 | + | |
| 64 | + | |
71 | 65 | | |
72 | | - | |
| 66 | + | |
| 67 | + | |
73 | 68 | | |
74 | | - | |
| 69 | + | |
| 70 | + | |
75 | 71 | | |
76 | | - | |
| 72 | + | |
| 73 | + | |
77 | 74 | | |
78 | | - | |
| 75 | + | |
| 76 | + | |
79 | 77 | | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
83 | 100 | | |
84 | 101 | | |
85 | 102 | | |
| |||
This file was deleted.
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
0 commit comments