- Notifications
You must be signed in to change notification settings - Fork675
Commitad72ef3
committed
chore: add additional type-hints for gitlab/base.py
Add type-hints for the variables which are set via self.__dict__mypy doesn't see them when they are assigned via self.__dict__. Sodeclare them in the class definition.1 parentb0d75d9 commitad72ef3
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
0 commit comments
Comments
(0)