Skip to content

Commit da49b7d

Browse files
Remove useless annotations imports. (Comfy-Org#14105)
1 parent 0a2dd86 commit da49b7d

42 files changed

Lines changed: 0 additions & 54 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/assets/services/metadata_extract.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Tier 2: Safetensors header metadata (fast JSON read only)
55
"""
66

7-
from __future__ import annotations
87

98
import json
109
import logging

app/custom_node_manager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import os
42
import folder_paths
53
import glob

app/frontend_management.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
import argparse
32
import logging
43
import os

app/model_manager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import os
42
import base64
53
import json

app/user_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
import json
32
import os
43
import re

comfy/comfy_types/node_typing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Comfy-specific type hinting"""
22

3-
from __future__ import annotations
43
from typing import Literal, TypedDict, Optional
54
from typing_extensions import NotRequired
65
from abc import ABC, abstractmethod

comfy/ldm/lightricks/vae/causal_audio_autoencoder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
import torch
32
from torch import nn
43
from torch.nn import functional as F

comfy/ldm/lightricks/vae/causal_video_autoencoder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
import threading
32
import torch
43
from torch import nn

comfy/ldm/lumina/model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Code from: https://github.com/Alpha-VLLM/Lumina-Image-2.0/blob/main/models/model.py
2-
from __future__ import annotations
32

43
from typing import List, Optional, Tuple
54

comfy/ldm/moge/geometry.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Pure-torch + scipy geometry helpers for MoGe inference and mesh export."""
22

3-
from __future__ import annotations
43

54
from typing import Optional, Tuple
65

0 commit comments

Comments
 (0)