diff --git a/fsspec/__init__.py b/fsspec/__init__.py index d7af775f7..a71bbeeb0 100644 --- a/fsspec/__init__.py +++ b/fsspec/__init__.py @@ -18,21 +18,21 @@ __all__ = [ "AbstractFileSystem", - "FSTimeoutError", + "Callback", "FSMap", + "FSTimeoutError", + "available_compressions", + "available_protocols", + "caching", "filesystem", - "register_implementation", "get_filesystem_class", "get_fs_token_paths", "get_mapper", "open", "open_files", "open_local", + "register_implementation", "registry", - "caching", - "Callback", - "available_protocols", - "available_compressions", "url_to_fs", ] diff --git a/fsspec/registry.py b/fsspec/registry.py index 02094ea0a..62c38620f 100644 --- a/fsspec/registry.py +++ b/fsspec/registry.py @@ -4,7 +4,7 @@ import types import warnings -__all__ = ["registry", "get_filesystem_class", "default"] +__all__ = ["default", "get_filesystem_class", "registry"] # internal, mutable _registry: dict[str, type] = {} diff --git a/pyproject.toml b/pyproject.toml index ef707f50d..4513962a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -181,6 +181,7 @@ select = [ "PYI", "RUF006", "RUF015", + "RUF022", "RUF024", "SIM", "SLOT",