misc: Add type hints, cleanup
Add some type hints to the misc module, and remove the unused silentremove functionality. Also, make the jwutils facade follow the move. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
3dd5255c90
commit
7bfe80a761
2 changed files with 64 additions and 54 deletions
|
|
@ -32,7 +32,6 @@ from .log import remove_from_prefix as remove_from_prefix
|
|||
from .log import set_filename_length as set_filename_length
|
||||
from .log import set_module_name_length as set_module_name_length
|
||||
from .log import add_log_file as add_log_file
|
||||
from .misc import silentremove as silentremove
|
||||
from .misc import atomic_store as atomic_store
|
||||
from .misc import object_builtin_name as object_builtin_name
|
||||
from .misc import get_derived_classes as get_derived_classes
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
# ruff: noqa: E501
|
||||
from jw.util.misc import silentremove as silentremove
|
||||
from jw.util.misc import atomic_store as atomic_store
|
||||
from jw.util.misc import object_builtin_name as object_builtin_name
|
||||
from jw.util.misc import get_derived_classes as get_derived_classes
|
||||
|
|
@ -13,7 +12,6 @@ from jw.util.misc import multi_regex_edit as multi_regex_edit
|
|||
from jw.util.misc import dump as dump
|
||||
|
||||
__all__ = [
|
||||
"silentremove",
|
||||
"atomic_store",
|
||||
"object_builtin_name",
|
||||
"get_derived_classes",
|
||||
|
|
|
|||
Loading…
Reference in a new issue