Skip to content

Commit 761bdda

Browse files
OK let's do this for every remaining python file
1 parent 9846dd5 commit 761bdda

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tools/python/mbed_tools/build/_internal/config/assemble_build_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#
55
"""Configuration assembly algorithm."""
66

7+
from __future__ import annotations
8+
79
import itertools
810
import logging
911

tools/python/mbed_tools/build/_internal/find_files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
#
55
"""Find files in MbedOS program directory."""
66

7-
import fnmatch
7+
from __future__ import annotations
8+
89
from pathlib import Path
910
from typing import Callable, Iterable, List, Optional, Tuple
1011

tools/python/mbed_tools/build/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
#
55
"""Parses the Mbed configuration system and generates a CMake config script."""
66

7-
import json
7+
from __future__ import annotations
8+
89
import pathlib
910
from typing import Any, Tuple
1011
import logging

0 commit comments

Comments
 (0)