diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 938cf04..d6ce4ae 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -3,6 +3,8 @@ name: CI on: push: branches: '**' + pull_request: + branches: '**' jobs: ci: diff --git a/fastapi_mail/schemas.py b/fastapi_mail/schemas.py index 928b74d..4bf0de8 100644 --- a/fastapi_mail/schemas.py +++ b/fastapi_mail/schemas.py @@ -4,7 +4,7 @@ from typing import Dict, List, Optional, Union from pydantic import BaseModel, EmailStr, validator -from starlette.datastructures import UploadFile, Headers +from starlette.datastructures import Headers, UploadFile from fastapi_mail.errors import WrongFile