mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
🚨 — Fix pylint warnings
This commit is contained in:
parent
d629b4bd0c
commit
dc49f0bb3e
2 changed files with 9 additions and 3 deletions
|
@ -4,7 +4,15 @@ For database models, see argos.server.models.
|
|||
"""
|
||||
from typing import Dict, List, Literal, Optional, Tuple
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, HttpUrl, StrictBool, EmailStr, PositiveInt, field_validator
|
||||
from pydantic import (
|
||||
BaseModel,
|
||||
ConfigDict,
|
||||
HttpUrl,
|
||||
StrictBool,
|
||||
EmailStr,
|
||||
PositiveInt,
|
||||
field_validator,
|
||||
)
|
||||
from pydantic.functional_validators import BeforeValidator
|
||||
from typing_extensions import Annotated
|
||||
|
||||
|
|
|
@ -56,5 +56,3 @@ Subject: {subject}
|
|||
logger.debug('Sending mail to %s', address)
|
||||
logger.debug(msg)
|
||||
smtp.sendmail(config.mailfrom, address, mail)
|
||||
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue