Skip to content

Commit 1d5fd25

Browse files
authored
Updates via ambient-package-update (#36)
1 parent 573e01b commit 1d5fd25

File tree

11 files changed

+39
-30
lines changed

11 files changed

+39
-30
lines changed

.ambient-package-update/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
optional_dependencies={
3636
"dev": [
3737
*DEV_DEPENDENCIES,
38-
"freezegun~=1.5",
38+
"time_machine~=2.16",
3939
],
4040
},
4141
ruff_ignore_list=[

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: pip install pre-commit
2222

2323
- name: Run pre-commit hooks
24-
run: pre-commit run --all-files --hook-stage push
24+
run: pre-commit run --all-files
2525

2626

2727
tests:

.pre-commit-config.yaml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
repos:
55
- repo: https://github.com/astral-sh/ruff-pre-commit
6-
rev: v0.11.2
6+
rev: v0.11.11
77
hooks:
88
# Run the Ruff formatter.
99
- id: ruff-format
1010
# Run the Ruff linter.
11-
- id: ruff
11+
- id: ruff-check
1212
args: [--fix, --exit-non-zero-on-fix]
1313

1414
- repo: https://github.com/adamchainz/blacken-docs
@@ -20,19 +20,19 @@ repos:
2020
files: '(?:README\.md|\.ambient-package-update\/templates\/snippets\/.*\.tpl|docs\/.*\.(?:md|rst))'
2121

2222
- repo: https://github.com/asottile/pyupgrade
23-
rev: v3.19.1
23+
rev: v3.20.0
2424
hooks:
2525
- id: pyupgrade
2626
args: [ --py39-plus ]
2727

2828
- repo: https://github.com/adamchainz/django-upgrade
29-
rev: 1.24.0
29+
rev: 1.25.0
3030
hooks:
3131
- id: django-upgrade
3232
args: [--target-version, "4.2"]
3333

3434
- repo: https://github.com/adamchainz/djade-pre-commit
35-
rev: 1.3.2
35+
rev: 1.4.0
3636
hooks:
3737
- id: djade
3838
args: [--target-version, "4.2"]
@@ -45,10 +45,15 @@ repos:
4545
- repo: https://github.com/pre-commit/pre-commit-hooks
4646
rev: v5.0.0
4747
hooks:
48-
- id: no-commit-to-branch
49-
args:
50-
[
51-
"--pattern",
52-
'^^(?!(?:feature|hotfix|bugfix|refactor|maintenance)/[\w\d\-_#]+).*$',
53-
]
54-
stages: [ pre-commit ]
48+
- id: check-ast
49+
- id: check-builtin-literals
50+
- id: check-case-conflict
51+
- id: check-docstring-first
52+
- id: check-executables-have-shebangs
53+
- id: check-json
54+
- id: check-merge-conflict
55+
- id: check-toml
56+
- id: end-of-file-fixer
57+
- id: fix-byte-order-marker
58+
- id: mixed-line-ending
59+
- id: trailing-whitespace

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
**2.7.2** (2025-05-30)
4+
* Replaced freezegun with time_machine for tests
5+
* Maintenance updates via ambient-package-update
6+
37
**2.7.1** (2025-05-29)
48
* Fixed a bug where html-converted plain text would miss links
59

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Example: run single hook
5151

5252
Example: run all hooks of pre-push stage
5353

54-
pre-commit run --all-files --hook-stage push
54+
pre-commit run --all-files
5555

5656
## Update documentation
5757

@@ -75,4 +75,3 @@ How to compile translation files:
7575
* Navigate to `django-pony-express`
7676
* `python manage.py compilemessages`
7777
* Have a look at the new/changed files within `django_pony_express/locale`
78-

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,3 @@ configuration and setup files. It works similar to well-known updaters like `pyu
9494
9595
To run an update, refer to the [documentation page](https://pypi.org/project/ambient-package-update/)
9696
of the "ambient-package-update".
97-

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The maintainers of this package take security bugs seriously. We appreciate your
44
disclose your findings, and will make every effort to acknowledge your contributions.
55

66
To report a security issue, please use the GitHub Security
7-
Advisory ["Report a Vulnerability"](https://github.com/ambient-innovation/django-pony-express/security/advisories/new)
7+
Advisory ["Report a Vulnerability"](https://github.com/ambient-innovation/django-pony-express/security/advisories/new)
88
tab.
99

1010
The maintainers will send a response indicating the next steps in handling your report. After the initial reply to

django_pony_express/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Class-based emails including a test suite for Django"""
22

3-
__version__ = "2.7.1"
3+
__version__ = "2.7.2"

docs/features/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
.. mdinclude:: ../../CHANGES.md
2+
.. mdinclude:: ../../CHANGES.md

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ dev = [
4444
'pytest-django~=4.9',
4545
'pytest-mock~=3.14',
4646
'coverage~=7.6',
47-
'pre-commit~=4.0',
48-
'ruff~=0.6',
47+
'pre-commit~=4.2',
48+
'ruff~=0.11',
4949
'sphinx~=7.1',
5050
'sphinx-rtd-theme~=2.0',
5151
'm2r2==0.3.3.post2',
5252
'mistune<2.0.0',
53-
'flit~=3.9',
54-
'keyring~=25.4',
53+
'flit~=3.12',
54+
'keyring~=25.6',
5555
'ambient-package-update',
56-
'freezegun~=1.5',
56+
'time_machine~=2.16',
5757
]
5858

5959
[tool.flit.module]

0 commit comments

Comments
 (0)