Skip to content

Commit 653a983

Browse files
committed
Let list[] and dict[] being valid in python 3.8
We are mostly all developing using recent versions supporting this, so such syntax is bound to evade our reviews anyway. Since there is a __future__ flag valid since 3.7, let's use it instead. Signed-off-by: Yann Dirson <[email protected]>
1 parent 2fe8fd3 commit 653a983

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/host.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import logging
24
import os
35
import shlex

lib/vm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import logging
24
import os
35
import subprocess

0 commit comments

Comments
 (0)