mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-09 15:47:14 +00:00
Fix linting issues in API tests
This commit is contained in:
parent
fa9688b1fb
commit
e8a92e4c9b
@ -5,7 +5,7 @@ import pytest
|
|||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from typing import Dict, Any, List, Set
|
from typing import Dict, Any, Set
|
||||||
|
|
||||||
# Use a direct import with the full path
|
# Use a direct import with the full path
|
||||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
@ -7,7 +7,7 @@ import logging
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
from typing import Dict, Any, List
|
from typing import Dict, Any
|
||||||
|
|
||||||
# Use a direct import with the full path
|
# Use a direct import with the full path
|
||||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Utilities for working with OpenAPI schemas
|
Utilities for working with OpenAPI schemas
|
||||||
"""
|
"""
|
||||||
import json
|
|
||||||
import os
|
|
||||||
from typing import Any, Dict, List, Optional, Set, Tuple
|
from typing import Any, Dict, List, Optional, Set, Tuple
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Utilities for API response validation against OpenAPI spec
|
Utilities for API response validation against OpenAPI spec
|
||||||
"""
|
"""
|
||||||
import json
|
|
||||||
import os
|
|
||||||
import yaml
|
import yaml
|
||||||
import jsonschema
|
import jsonschema
|
||||||
from typing import Any, Dict, List, Optional, Union
|
from typing import Any, Dict, List, Optional, Union
|
||||||
|
Loading…
x
Reference in New Issue
Block a user