Commit bc30ef6
committed
fix(SR): add missing mypy annotations
Fix errors reported by mypy update (mypy-2.1.0) on our workflow.
In `SR.py` on `backends`:
```
drivers/SR.py:51: error: Need type annotation for "backends" (hint: "backends: list[<type>] = ...") [var-annotated]
```
In `test_lock_queue.py`:
```
tests/test_lock_queue.py:15: error: Need type annotation for "saved_queue" (hint: "saved_queue: list[<type>] = ...") [var-annotated]
```
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.tech>1 parent 6036431 commit bc30ef6
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments