Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Aug 11, 2024
1 parent b7209ea commit f8fc532
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ruff: noqa: F401
import contextlib
from asyncio import create_subprocess_exec, gather
from html import escape
Expand Down Expand Up @@ -49,7 +50,7 @@
sendFile,
sendMessage,
)
from .modules import ( # noqa: F401
from .modules import (
authorize,
bot_settings,
broadcast,
Expand Down
7 changes: 7 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ unsafe-fixes = true
line-length = 85
target-version = "py310"

[lint.isort]
length-sort = true

[lint]
select = [
"FURB", # refurb
Expand All @@ -29,5 +32,9 @@ select = [
ignore = [
"PLR2004",
"PLR0912",
"PLR0915",
"PLR0911",
"PLR0913",
"N806",
"E501",
]

0 comments on commit f8fc532

Please sign in to comment.