Commit 7f3fcc1
authored
[EH] EH Pylint-Next Cleanup (#35347)
* remove unused import
* removed typing import from TYPE_CHECKING
* add return type and returns to docstrings
* remove unnecessary parens
* add timeout to flush methods in producer
* disable inconsistent return rule
* add timeout kwarg to public api
* add update_token to create_token
* update mgmt_request operation kwargs
* add typed kwargs for send*
* typed kwargs for create_batch
* update receive batch kwargs
* kwargs for mgmt exec op
* typed kwargs for receieve
* add typed kwargs for sync consumer client
* consumer from conn str kwargs
* producer conn str kwargs
* kwargs for send client in transports
* receive client kwargs
* typed kwargs for create_connection
* fix error in event processor
* make locales optional
* fix type in field name
* make max_batch_size position
* pass in timeout kwarg
* address PR comments
* missing comma
* fix uamqp transport
* add final new line
* fix missing comma
* initial mypy fixes
* match up conn manager with amqp.create_connection
* intial mypy fixes for transports
* futher mypy match up conn manager and transport
* fix eventprocessor mypy errors
* further fixes to align typing
* more mypy fixes
* address comments
* add forward ref types for uamqp and azure amqp
* enable uamqp tests for ci run
* disable uAMQP tests1 parent 75139d2 commit 7f3fcc1
File tree
25 files changed
+1198
-429
lines changed- sdk/eventhub/azure-eventhub
- azure/eventhub
- _eventprocessor
- _pyamqp
- aio
- _transport
- aio
- _eventprocessor
- _transport
- samples/sync_samples
25 files changed
+1198
-429
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| |||
Lines changed: 36 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
69 | 85 | | |
70 | 86 | | |
71 | 87 | | |
72 | 88 | | |
73 | | - | |
| 89 | + | |
74 | 90 | | |
75 | | - | |
76 | 91 | | |
77 | 92 | | |
78 | 93 | | |
79 | 94 | | |
80 | | - | |
81 | | - | |
82 | 95 | | |
| 96 | + | |
83 | 97 | | |
84 | 98 | | |
85 | 99 | | |
| |||
113 | 127 | | |
114 | 128 | | |
115 | 129 | | |
116 | | - | |
| 130 | + | |
117 | 131 | | |
118 | | - | |
119 | 132 | | |
120 | 133 | | |
121 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments