Skip to content

Commit

Permalink
chore: add sorting for __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceAesth committed Oct 29, 2023
1 parent ee0f32a commit e260b31
Show file tree
Hide file tree
Showing 29 changed files with 1,767 additions and 1,763 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ repos:
rev: 1.6.0
hooks:
- id: poetry-check
- repo: https://github.com/aio-libs/sort-all
rev: v1.2.0
hooks:
- id: sort-all

default_language_version:
python: python3.9
2 changes: 1 addition & 1 deletion aiosu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"events",
"exceptions",
"helpers",
"utils",
"models",
"utils",
"v1",
"v2",
)
Expand Down
2 changes: 1 addition & 1 deletion aiosu/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
from .models import OAuthToken

__all__ = (
"Eventable",
"BaseEvent",
"ClientAddEvent",
"ClientUpdateEvent",
"Eventable",
)


Expand Down
2 changes: 1 addition & 1 deletion aiosu/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
T = TypeVar("T")

__all__ = (
"from_list",
"add_param",
"from_list",
)


Expand Down
2 changes: 1 addition & 1 deletion aiosu/models/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
from .common import CursorModel

__all__ = (
"ArtistTrack",
"ArtistResponse",
"ArtistSortType",
"ArtistTrack",
)

ArtistSortType = Literal[
Expand Down
Loading

0 comments on commit e260b31

Please sign in to comment.