Skip to content

Commit 7af20c1

Browse files
committed
Use string type annotations.
1 parent 06bea17 commit 7af20c1

28 files changed

+58
-1
lines changed

Tools/configure/conf_buildopts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
the PROFILE_TASK used for PGO training runs and DEF_MAKE_ALL_RULE.
77
"""
88

9+
from __future__ import annotations
10+
911
import pyconf
1012

1113
DISABLE_GIL = pyconf.arg_enable(

Tools/configure/conf_compiler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
memmove, ipa-pure-const).
99
"""
1010

11+
from __future__ import annotations
12+
1113
import os
1214

1315
import pyconf

Tools/configure/conf_extlibs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Tcl/Tk libraries and headers via pkg-config or manual search.
77
"""
88

9+
from __future__ import annotations
10+
911
import pyconf
1012

1113

Tools/configure/conf_filesystem.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Filesystem related checks."""
22

3+
from __future__ import annotations
4+
35
import pyconf
46

57

Tools/configure/conf_init.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
pkg-config probing, and the missing-stdlib-config option.
88
"""
99

10+
from __future__ import annotations
11+
1012
import conf_modules
1113
import pyconf
1214

Tools/configure/conf_macos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
universal architecture flags; and MACOSX_DEPLOYMENT_TARGET.
1010
"""
1111

12+
from __future__ import annotations
13+
1214
import os
1315

1416
import pyconf

Tools/configure/conf_math.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
(including Solaris workarounds).
99
"""
1010

11+
from __future__ import annotations
12+
1113
import pyconf
1214

1315
WITH_LIBM = pyconf.arg_with(

Tools/configure/conf_modules.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
variables (LIBHACL_*, MODULE_*_LDFLAGS).
88
"""
99

10+
from __future__ import annotations
11+
1012
import pyconf
1113

1214

Tools/configure/conf_net.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
conf_syslibs, conf_probes, conf_math, and conf_checks.
1111
"""
1212

13+
from __future__ import annotations
14+
1315
import pyconf
1416

1517
WITH_LIBS = pyconf.arg_with(

Tools/configure/conf_optimization.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
--enable-bolt (llvm-bolt, merge-fdata, BOLT_*_FLAGS).
88
"""
99

10+
from __future__ import annotations
11+
1012
import os
1113

1214
import pyconf

0 commit comments

Comments
 (0)