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 c261b9b08..8d2e2068e 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 48368711f..e725ca66a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -179,6 +179,7 @@ select = [ "PYI", "RUF006", "RUF015", + "RUF022", "RUF024", "SLOT", "SIM101",