style: remove from future import annotations

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2025-02-28 16:38:15 -05:00
committed by Henry Schreiner
parent 1b63074d76
commit 708cf1d32b
93 changed files with 63 additions and 239 deletions
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from .base import TestProject
from .c import new_c_project
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import importlib
import subprocess
import sys
+3 -5
View File
@@ -1,7 +1,5 @@
from __future__ import annotations
from pathlib import Path
from typing import Any
from typing import Any, Self
import jinja2
@@ -37,8 +35,8 @@ class TestProject:
f.write(content)
def copy(self) -> TestProject:
other = TestProject()
def copy(self) -> Self:
other = self.__class__()
other.files = self.files.copy()
other.template_context = self.template_context.copy()
return other
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import jinja2
from .base import TestProject