Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply ruff rule RUF022 #13117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading