Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-oleshkevich committed Apr 16, 2024
1 parent ff7186f commit 9d8bc9b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
* MAILER_URL - mailer configuration URL
"""

import asyncio
import os
import tempfile
Expand Down
1 change: 1 addition & 0 deletions examples/cssliner.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
* MAILER_URL - mailer configuration URL
"""

import asyncio
import jinja2
import os
Expand Down
1 change: 1 addition & 0 deletions examples/custom_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* MAILERS_RECIPIENT - a recipient's email ("To" header)
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
"""

import asyncio
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions examples/dkim_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Also make sure that you have set up DKIM DNS TXT record.
Also, you may need to setup SPF DNS TEXT record as well if sender's IP is not the same as DKIM domain.
"""

import asyncio
import os

Expand Down
1 change: 1 addition & 0 deletions examples/embedded.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
* MAILER_URL - mailer configuration URL
"""

import asyncio
import base64
import os
Expand Down
1 change: 1 addition & 0 deletions examples/html_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
* MAILER_URL - mailer configuration URL
"""

import asyncio
import os

Expand Down
1 change: 1 addition & 0 deletions examples/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
* MAILER_URL - mailer configuration URL
"""

import asyncio
import jinja2
import os
Expand Down
1 change: 1 addition & 0 deletions examples/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* MAILERS_FROM_ADDRESS - a sender address ("From" header)
* MAILER_URL - mailer configuration URL
"""

import asyncio
import os

Expand Down
3 changes: 1 addition & 2 deletions mailers/preprocessors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@


class Preprocessor(typing.Protocol):
def __call__(self, message: EmailMessage) -> EmailMessage:
...
def __call__(self, message: EmailMessage) -> EmailMessage: ...

0 comments on commit 9d8bc9b

Please sign in to comment.