Bastien Gerard
8a1a68ea7c
fix flake8 warnings
2020-12-13 00:14:53 +01:00
Bastien Gerard
eabb8f60f5
autoformat with pyupgrade
2020-12-13 00:14:53 +01:00
Bastien Gérard
d8924ed892
remove inheritance from unittest.TestCase on basic test classes
2019-10-31 23:02:28 +01:00
Bastien Gérard
bc0c55e49a
improve tests health (flake8 warnings)
2019-10-31 23:01:27 +01:00
Bastien Gérard
ac25f4b98b
ran unittest2pytest
2019-10-31 22:59:49 +01:00
Bastien Gérard
37ca79e9c5
fix black formatting
2019-10-31 22:39:53 +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
3d45cdc339
Implemented lazy regex compiling in Field classes to improve 'import mongoengine' performance
2018-08-03 23:36:26 +02:00