Skip to content

Commit

Permalink
v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Jun 21, 2024
1 parent 8db776b commit d6f0542
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ repos:
# Run the Ruff formatter.
- id: ruff-format

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==24.4.2
files: '(?:README\.md|docs\/.*\.(?:md|rst))'

- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
hooks:
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

* *2.1.3* (2024-06-14)
* Linted docs with `blacken-docs` via `ambient-package-update`

* *2.1.2* (2024-06-14)
* Internal updates via `ambient-package-update`

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ Ingenious, right?
## Contribute
### Setup package for development
Expand Down
2 changes: 1 addition & 1 deletion django_pony_express/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Class-based emails including a test suite for Django"""

__version__ = "2.1.2"
__version__ = "2.1.3"
1 change: 0 additions & 1 deletion docs/features/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ LOGGING = {
"level": "DEBUG",
"propagate": True,
},
...
},
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/features/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ If you want to customise the filename or even pass a mimetype, you can do as fol

````python
email_service = MyMailService(
...
attachment_list=[{'filename': 'my_fancy_file.json', 'file': file_content, 'mimetype': 'application/json'}]
...,
attachment_list=[{'filename': 'my_fancy_file.json', 'file': file_content, 'mimetype': 'application/json'}],
)
````

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dev = [
'm2r2==0.3.3.post2',
'mistune<2.0.0',
'flit~=3.9',
'ambient-package-update~=24.6.2',
'ambient-package-update~=24.6.4',
]

[tool.flit.module]
Expand Down

0 comments on commit d6f0542

Please sign in to comment.