Skip to content

Commit

Permalink
Apply ruff rule RUF022
Browse files Browse the repository at this point in the history
RUF022 `__all__` is not sorted
  • Loading branch information
DimitriPapadopoulos committed Dec 11, 2024
1 parent df3d94f commit 3290e45
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions sphinx/ext/intersphinx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
from __future__ import annotations

__all__ = (
'IntersphinxDispatcher',
'IntersphinxRole',
'IntersphinxRoleResolver',
'InventoryAdapter',
'fetch_inventory',
'load_mappings',
'validate_intersphinx_mapping',
'IntersphinxRoleResolver',
'inventory_exists',
'inspect_main',
'install_dispatcher',
'resolve_reference_in_inventory',
'inventory_exists',
'load_mappings',
'missing_reference',
'resolve_reference_any_inventory',
'resolve_reference_detect_inventory',
'missing_reference',
'IntersphinxDispatcher',
'IntersphinxRole',
'inspect_main',
'resolve_reference_in_inventory',
'validate_intersphinx_mapping',
)

from typing import TYPE_CHECKING
Expand Down
2 changes: 1 addition & 1 deletion sphinx/theming.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations

__all__ = ('Theme', 'HTMLThemeFactory')
__all__ = ('HTMLThemeFactory', 'Theme')

import configparser
import contextlib
Expand Down

0 comments on commit 3290e45

Please sign in to comment.