Reformat code with automated tools

Apply standardized code style
This commit is contained in:
medmunds
2023-02-06 12:27:43 -08:00
committed by Mike Edmunds
parent 40891fcb4a
commit b4e22c63b3
94 changed files with 12936 additions and 7443 deletions

View File

@@ -3,23 +3,23 @@ We welcome all contributions: issue reports, bug fixes, documentation improvemen
new features, ideas and suggestions, and anything else to help improve the package.
Before posting **questions** or **issues** in GitHub, please check out
[*Getting support*][support] and [*Troubleshooting*][troubleshooting]
[_Getting support_][support] and [_Troubleshooting_][troubleshooting]
in the Anymail docs. Also…
> …when you're reporting a problem or bug, it's *really helpful* to include:
> * which **ESP** you're using (Mailgun, SendGrid, etc.)
> * what **versions** of Anymail, Django, and Python you're running
> * any error messages and exception stack traces
> * the relevant portions of your code and settings
> * any [troubleshooting] you've tried
> …when you're reporting a problem or bug, it's _really helpful_ to include:
>
> - which **ESP** you're using (Mailgun, SendGrid, etc.)
> - what **versions** of Anymail, Django, and Python you're running
> - any error messages and exception stack traces
> - the relevant portions of your code and settings
> - any [troubleshooting] you've tried
For more info on **pull requests** and the **development** environment,
please see [*Contributing*][contributing] in the docs. For significant
please see [_Contributing_][contributing] in the docs. For significant
new features or breaking changes, it's always a good idea to
propose the idea in the [discussions] forum before writing
a lot of code.
[contributing]: https://anymail.readthedocs.io/en/stable/contributing/
[discussions]: https://github.com/anymail/django-anymail/discussions
[support]: https://anymail.readthedocs.io/en/stable/help/#support

View File

@@ -1,9 +1,9 @@
Reporting an error? It's helpful to know:
* Anymail version
* ESP (Mailgun, SendGrid, etc.)
* Your ANYMAIL settings (change secrets to "redacted")
* Versions of Django, requests, python
* Exact error message and/or stack trace
* Any other relevant code and settings (e.g., for problems
- Anymail version
- ESP (Mailgun, SendGrid, etc.)
- Your ANYMAIL settings (change secrets to "redacted")
- Versions of Django, requests, python
- Exact error message and/or stack trace
- Any other relevant code and settings (e.g., for problems
sending, your code that sends the message)

View File

@@ -3,15 +3,14 @@ name: integration-test
on:
pull_request:
push:
branches: [ "main", "v[0-9]*" ]
tags: [ "v[0-9]*" ]
branches: ["main", "v[0-9]*"]
tags: ["v[0-9]*"]
workflow_dispatch:
schedule:
# Weekly test (on branch main) every Thursday at 12:15 UTC.
# (Used to monitor compatibility with ESP API changes.)
- cron: "15 12 * * 4"
jobs:
skip_duplicate_runs:
# Avoid running the live integration tests twice on the same code

View File

@@ -14,7 +14,7 @@ name: release
on:
push:
tags: [ "v[0-9]*" ]
tags: ["v[0-9]*"]
workflow_dispatch:
jobs:

View File

@@ -3,15 +3,14 @@ name: test
on:
pull_request:
push:
branches: [ "main", "v[0-9]*" ]
tags: [ "v[0-9]*" ]
branches: ["main", "v[0-9]*"]
tags: ["v[0-9]*"]
workflow_dispatch:
schedule:
# Weekly test (on branch main) every Thursday at 12:00 UTC.
# (Used to monitor compatibility with Django patches/dev and other dependencies.)
- cron: "0 12 * * 4"
jobs:
get-envlist:
runs-on: ubuntu-20.04