Skip to content

Commit

Permalink
add missing imports for future annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-schwartz authored and xclaesse committed Oct 20, 2023
1 parent 46cedeb commit 1cf0ed0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions mesonbuild/_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
python bugs are fixed and it is OK to tell our users to "just upgrade
python".
'''
from __future__ import annotations

import pathlib
import os
Expand Down
2 changes: 2 additions & 0 deletions mesonbuild/compilers/asm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
import typing as T

Expand Down
3 changes: 3 additions & 0 deletions mesonbuild/scripts/test_loaded_modules.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from __future__ import annotations

import sys
import json
import typing as T

from . import meson_exe

# This script is used by run_unittests.py to verify we don't load too many
Expand Down
2 changes: 2 additions & 0 deletions mesonbuild/scripts/yasm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import argparse
import subprocess
import typing as T
Expand Down

0 comments on commit 1cf0ed0

Please sign in to comment.