Skip to content

Commit af7fcb3

Browse files
committed
🎨 format & lint
1 parent 053178b commit af7fcb3

File tree

15 files changed

+107
-103
lines changed

15 files changed

+107
-103
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
exclude: \.(po|pot|yml|yaml)$
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
2323
# Ruff version.
24-
rev: v0.7.3
24+
rev: v0.8.1
2525
hooks:
2626
# Run the linter.
2727
- id: ruff

pdm.lock

Lines changed: 89 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ extend-ignore = [
8989
"D105",
9090
"D106",
9191
"ANN401",
92-
"ANN101",
9392
"TRY003",
9493
"EM101",
9594
"EM102",

scripts/check_listings/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import markdown
99
import nodriver as uc
1010
import yaml
11-
from aiofile import async_open as open # noqa: A001
11+
from aiofile import async_open as open # noqa: A004
1212
from bs4 import BeautifulSoup
1313
from termcolor import cprint
1414

scripts/check_listings/listings/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
from .WumpusStore import WumpusStore
1313

1414
__all__ = [
15-
"TopGg",
16-
"DiscordsCom",
1715
"BaseError",
18-
"NotFoundError",
19-
"normalize_soup",
20-
"WumpusStore",
2116
"DiscordAppDirectory",
2217
"DiscordBotListCom",
23-
"DisforgeCom",
2418
"DiscordBotsGg",
2519
"DiscordMe",
20+
"DiscordsCom",
21+
"DisforgeCom",
2622
"Listing",
23+
"NotFoundError",
24+
"TopGg",
25+
"WumpusStore",
26+
"normalize_soup",
2727
]

scripts/check_listings/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import markdown
88
import nodriver as uc
99
import yaml
10-
from aiofile import async_open as open # noqa: A001
10+
from aiofile import async_open as open # noqa: A004
1111
from bs4 import BeautifulSoup
1212
from termcolor import cprint
1313

src/custom/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ async def get_context(
8888
type Context = ExtContext | ApplicationContext
8989
... # for some reason, this makes pycharm happy
9090

91-
__all__ = ["Bot", "Context", "ExtContext", "ApplicationContext"]
91+
__all__ = ["ApplicationContext", "Bot", "Context", "ExtContext"]

src/extensions/add-dm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
from .main import default, schema, setup
55

6-
__all__ = ["setup", "default", "schema"]
6+
__all__ = ["default", "schema", "setup"]

src/extensions/branding/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
from .branding import default, schema, setup
55

6-
__all__ = ["setup", "default", "schema"]
6+
__all__ = ["default", "schema", "setup"]

src/extensions/listings/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
from .main import default, schema, setup
55

6-
__all__ = ["setup", "default", "schema"]
6+
__all__ = ["default", "schema", "setup"]

0 commit comments

Comments
 (0)