From d6f054276e1279c1dbd4521598892495c651e3a1 Mon Sep 17 00:00:00 2001 From: Ronny Vedrilla Date: Fri, 21 Jun 2024 13:34:19 +0200 Subject: [PATCH] v2.1.3 --- .pre-commit-config.yaml | 8 ++++++++ CHANGES.md | 3 +++ README.md | 2 -- django_pony_express/__init__.py | 2 +- docs/features/configuration.md | 1 - docs/features/introduction.md | 4 ++-- pyproject.toml | 2 +- 7 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 947cd87..3225bdd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/CHANGES.md b/CHANGES.md index 36d0312..ef21765 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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` diff --git a/README.md b/README.md index be06be1..3e70f97 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,6 @@ Ingenious, right? - - ## Contribute ### Setup package for development diff --git a/django_pony_express/__init__.py b/django_pony_express/__init__.py index b2b8c9f..c49e5d0 100644 --- a/django_pony_express/__init__.py +++ b/django_pony_express/__init__.py @@ -1,3 +1,3 @@ """Class-based emails including a test suite for Django""" -__version__ = "2.1.2" +__version__ = "2.1.3" diff --git a/docs/features/configuration.md b/docs/features/configuration.md index 093c953..f91c89f 100644 --- a/docs/features/configuration.md +++ b/docs/features/configuration.md @@ -21,7 +21,6 @@ LOGGING = { "level": "DEBUG", "propagate": True, }, - ... }, } ``` diff --git a/docs/features/introduction.md b/docs/features/introduction.md index ccccd6b..2133801 100644 --- a/docs/features/introduction.md +++ b/docs/features/introduction.md @@ -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'}], ) ```` diff --git a/pyproject.toml b/pyproject.toml index fe612ae..7405d2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]