Commit 7e288a0
committed
Add type annotations
Add missing type annotations in download.py, fetcher.py
and requests_fetcher.py
Update docstrings to match the new style.
Signed-off-by: Teodora Sechkova <[email protected]>1 parent af6fbd6 commit 7e288a0
File tree
3 files changed
+13
-27
lines changed- tuf/ngclient
- _internal
3 files changed
+13
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| 4 | + | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 6 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 7 | | |
26 | 8 | | |
27 | 9 | | |
| 10 | + | |
28 | 11 | | |
29 | 12 | | |
30 | 13 | | |
| |||
41 | 24 | | |
42 | 25 | | |
43 | 26 | | |
44 | | - | |
| 27 | + | |
45 | 28 | | |
46 | 29 | | |
47 | 30 | | |
48 | 31 | | |
49 | 32 | | |
50 | 33 | | |
51 | | - | |
| 34 | + | |
52 | 35 | | |
53 | 36 | | |
54 | 37 | | |
| |||
74 | 57 | | |
75 | 58 | | |
76 | 59 | | |
77 | | - | |
78 | | - | |
| 60 | + | |
79 | 61 | | |
80 | 62 | | |
81 | 63 | | |
| |||
88 | 70 | | |
89 | 71 | | |
90 | 72 | | |
91 | | - | |
| 73 | + | |
92 | 74 | | |
93 | 75 | | |
94 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments