diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-07-05 18:26:19 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-07-05 18:26:19 +0300 |
commit | de934521d56b0d6a882d5bee185ae20287be17e4 (patch) | |
tree | e42585f513c7119a8212b41d2382b3d5c68beb45 | |
parent | caae505ff9408e9973e518a5edd172f5aa9c2a18 (diff) |
Cleanup: Pose Library, remove unused imports
No functional changes.
-rw-r--r-- | pose_library/functions.py | 5 | ||||
-rw-r--r-- | pose_library/macros.py | 3 | ||||
-rw-r--r-- | pose_library/pose_creation.py | 5 |
3 files changed, 2 insertions, 11 deletions
diff --git a/pose_library/functions.py b/pose_library/functions.py index c94c9a39..bb32e669 100644 --- a/pose_library/functions.py +++ b/pose_library/functions.py @@ -20,16 +20,13 @@ Pose Library - functions. """ -import dataclasses from pathlib import Path -from typing import Any, List, Set, cast, Iterable, Optional +from typing import Any, List, Set, cast, Iterable Datablock = Any import bpy from bpy.types import ( - FileSelectEntry, - AssetLibraryReference, Context, ) diff --git a/pose_library/macros.py b/pose_library/macros.py index baf6ca61..35f33308 100644 --- a/pose_library/macros.py +++ b/pose_library/macros.py @@ -20,9 +20,6 @@ Pose Library - macros. """ -from pathlib import Path -from typing import Any, Optional, Set, Tuple - import bpy diff --git a/pose_library/pose_creation.py b/pose_library/pose_creation.py index 246784ea..990f5f59 100644 --- a/pose_library/pose_creation.py +++ b/pose_library/pose_creation.py @@ -23,7 +23,7 @@ Pose Library - creation functions. import dataclasses import functools import re -from typing import Any, Optional, FrozenSet, Set, Tuple, Union, Iterable, cast +from typing import Optional, FrozenSet, Set, Union, Iterable, cast if "functions" not in locals(): from . import functions @@ -35,13 +35,10 @@ else: import bpy from bpy.types import ( Action, - Area, Bone, Context, FCurve, - Image, Keyframe, - Window, ) FCurveValue = Union[float, int] |