Skip to content

Commit 10f5117

Browse files
committed
Applied broader Ruff rules
1 parent daab975 commit 10f5117

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ extend-select = [
6767
"I", # isort
6868
"ISC", # flake8-implicit-str-concat
6969
"PGH", # pygrep-hooks
70-
"RUF100", # unused noqa (yesqa)
70+
"RUF", # Ruff-specific rules
7171
"UP", # pyupgrade
7272
"W", # pycodestyle warnings
7373
]

src/asphalt/mailer/mailers/sendmail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async def deliver(self, messages: EmailMessage | Iterable[EmailMessage]) -> None
4040
for message in messages:
4141
recipients = get_recipients(message)
4242
del message["Bcc"]
43-
command = [self.path, "-i", "-B", "8BITMIME"] + recipients
43+
command = [self.path, "-i", "-B", "8BITMIME", *recipients]
4444
try:
4545
await run_process(
4646
command, input=message.as_bytes(), stderr=subprocess.PIPE

0 commit comments

Comments
 (0)