Bastien Gerard
b9d370c885
add standard hooks
2021-03-29 22:02:57 +02:00
Bastien Gerard
e5a2714baf
update doc for isort
2021-03-29 21:55:34 +02:00
Bastien Gerard
ff596fcb7e
replace flake8-import-order by isort
2021-03-29 21:50:22 +02:00
Bastien Gerard
8a1a68ea7c
fix flake8 warnings
2020-12-13 00:14:53 +01:00
Bastien Gérard
bbfa978861
switch test runner from nose to pytest
2019-10-31 20:39:49 +01:00
Stefan Wójcik
b47669403b
Format the codebase using Black ( #2109 )
...
This commit:
1. Formats all of our existing code using `black`.
2. Adds a note about using `black` to `CONTRIBUTING.rst`.
3. Runs `black --check` as part of CI (failing builds that aren't properly formatted).
2019-06-27 13:05:54 +02:00
Bastien Gérard
983474b2bd
Ignore 2 more flake8 warnings (introduced in latest flake8 3.6.0 release)
2018-10-30 23:40:46 +01:00
Emmanuel Leblond
e74f659015
Improve LazyReferenceField and GenericLazyReferenceField with nested fields
2017-11-22 11:44:49 +01:00
Emmanuel Leblond
47c7cb9327
Ignore style I202 rule (see https://github.com/PyCQA/flake8-import-order/issues/122 )
2017-11-15 20:44:36 +01:00
Malthe Jørgensen
76524b7498
Raise TypeError when __in
-operator used with a Document ( #1237 )
2016-12-12 23:27:25 -05:00
Stefan Wójcik
835d3c3d18
Improve the health of this package ( #1428 )
2016-12-11 18:49:21 -05:00
Stefan Wójcik
1b9432824b
Add ability to filter the generic reference field by ObjectId and DBRef ( #1425 )
2016-12-09 12:56:06 -05:00
Stefan Wójcik
3c455cf1c1
Improve health of this package ( #1409 )
...
* added flake8 and flake8-import-order to travis for py27
* fixed a test that fails from time to time depending on an order of a dict
* flake8 tweaks for the entire codebase excluding tests
2016-11-28 19:00:34 -05:00
Stefan Wojcik
5446592d44
remove rednose to see if it masks another issue
2016-10-19 16:05:59 -04:00
Axel Haustant
29d858d58c
Removed the deprecated py3where parameter
2015-04-28 20:20:21 +02:00
Axel Haustant
91ee85152c
Tests/Tox/TravisCI improvements
2015-04-28 20:19:56 +02:00
mrigal
aa7bf7af1e
adapted setup.cfg to use nosetests standard and allow usage of --tests argument, documenting it in the readme
2015-04-28 20:08:54 +02:00
Ross Lawley
6f29d12386
Changed the inheritance model to remove types
...
The inheritance model has changed, we no longer need to store an array of
`types` with the model we can just use the classname in `_cls`.
See the upgrade docs for information on how to upgrade
MongoEngine/mongoengine#148
2012-10-15 13:48:02 +00:00
Ross Lawley
19da228855
Cleaned up the metaclasses for documents
...
Refactored and clarified intent and
tidied up
2012-08-17 11:53:46 +01:00
Ross Lawley
529c522594
Updated changelog - fixed dynamic document issue
2012-08-13 16:42:51 +01:00
Ross Lawley
dd4af2df81
Python 2.5 and 3.1 support confirmed
2012-08-07 13:07:51 +01:00
Laine
91aa90ad4a
Added Python 3 support to MongoEngine
2012-08-01 17:21:48 -07:00
Ross Lawley
450dc11a68
Unicode fixes
...
refs hmarr/mongoengine#533 MongoEngine/mongoengine#32
2012-07-11 16:01:24 +01:00
Ross Lawley
f55b241cfa
Trying to bump travis
2012-07-11 15:45:31 +01:00
Ross Lawley
4f5aa8c43b
Fixed config / added test
2012-07-11 14:29:35 +01:00
Ross Lawley
b58bf3e0ce
Added support for addToSet and each
...
fixes MongoEngine/mongoengine#33
2012-07-11 14:22:50 +01:00
Ross Lawley
7ca2ea0766
Fixes .save _delta issue with DBRefs
...
Fixes hmarr/mongoengine#518
2012-06-19 09:49:22 +01:00
Ross Lawley
27a4d83ce8
Remove comment - it was wrong
2012-05-29 17:32:41 +01:00
Ross Lawley
ece9b902f8
Setup.py cleanups
2012-05-29 17:32:14 +01:00
Ross Lawley
65a2f8a68b
Updated configs
2012-05-29 17:06:03 +01:00
Ross Lawley
9c212306b8
Updated setup / added datetime test
2012-05-29 16:24:25 +01:00