Skip to content

Commit 04c26ac

Browse files
authored
Merge pull request MongoEngine#2513 from bagerard/prepare_release
Prepare release
2 parents 232071f + d0a15a8 commit 04c26ac

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ repos:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
1010
- repo: https://github.com/ambv/black
11-
rev: 20.8b1
11+
rev: 21.4b2
1212
hooks:
1313
- id: black
1414
- repo: https://gitlab.com/pycqa/flake8
1515
rev: 3.9.1
1616
hooks:
1717
- id: flake8
1818
- repo: https://github.com/asottile/pyupgrade
19-
rev: v2.13.0
19+
rev: v2.14.0
2020
hooks:
2121
- id: pyupgrade
2222
args: [--py36-plus]

docs/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Changelog
77
Development
88
===========
99
- (Fill this out as you fix issues and develop your features).
10+
11+
Changes in 0.23.1
12+
===========
1013
- Bug fix: ignore LazyReferenceFields when clearing _changed_fields #2484
1114
- Improve connection doc #2481
1215

mongoengine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
)
3030

3131

32-
VERSION = (0, 23, 0)
32+
VERSION = (0, 23, 1)
3333

3434

3535
def get_version():

tests/document/test_class_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class BlogPostWithCustomField(BlogPost):
177177
assert BlogPostWithCustomField.compare_indexes() == {"missing": [], "extra": []}
178178

179179
def test_compare_indexes_for_text_indexes(self):
180-
""" Ensure that compare_indexes behaves correctly for text indexes """
180+
"""Ensure that compare_indexes behaves correctly for text indexes"""
181181

182182
class Doc(Document):
183183
a = StringField()

tests/fields/test_file_field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class TestFile(Document):
308308
assert test_file.the_file not in [{"test": 1}]
309309

310310
def test_file_disk_space(self):
311-
""" Test disk space usage when we delete/replace a file """
311+
"""Test disk space usage when we delete/replace a file"""
312312

313313
class TestFile(Document):
314314
the_file = FileField()

tests/test_signals.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def tearDown(self):
249249
assert self.pre_signals == post_signals
250250

251251
def test_model_signals(self):
252-
""" Model saves should throw some signals. """
252+
"""Model saves should throw some signals."""
253253

254254
def create_author():
255255
self.Author(name="Bill Shakespeare")
@@ -340,7 +340,7 @@ def load_existing_author():
340340
]
341341

342342
def test_signal_kwargs(self):
343-
""" Make sure signal_kwargs is passed to signals calls. """
343+
"""Make sure signal_kwargs is passed to signals calls."""
344344

345345
def live_and_let_die():
346346
a = self.Author(name="Bill Shakespeare")
@@ -385,7 +385,7 @@ def bulk_create_author():
385385
]
386386

387387
def test_queryset_delete_signals(self):
388-
""" Queryset delete should throw some signals. """
388+
"""Queryset delete should throw some signals."""
389389

390390
self.Another(name="Bill Shakespeare").save()
391391
assert self.get_signal_output(self.Another.objects.delete) == [
@@ -396,7 +396,7 @@ def test_queryset_delete_signals(self):
396396
]
397397

398398
def test_signals_with_explicit_doc_ids(self):
399-
""" Model saves must have a created flag the first time."""
399+
"""Model saves must have a created flag the first time."""
400400
ei = self.ExplicitId(id=123)
401401
# post save must received the created flag, even if there's already
402402
# an object id present

0 commit comments

Comments
 (0)