mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Reformat code with automated tools
Apply standardized code style
This commit is contained in:
18
.github/CONTRIBUTING.md
vendored
18
.github/CONTRIBUTING.md
vendored
@@ -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
|
||||
|
||||
12
.github/ISSUE_TEMPLATE.md
vendored
12
.github/ISSUE_TEMPLATE.md
vendored
@@ -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)
|
||||
|
||||
5
.github/workflows/integration-test.yml
vendored
5
.github/workflows/integration-test.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -14,7 +14,7 @@ name: release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ "v[0-9]*" ]
|
||||
tags: ["v[0-9]*"]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user