Update factory-boy to 2.12.0
Created by: pyup-bot
This PR updates factory-boy from 2.10.0 to 2.12.0.
Changelog
2.12.0
-------------------
*New:*
- Add support for Python 3.7
- Add support for Django 2.1
- Add :attr:`~factory.fuzzy.FuzzyChoice.getter` to :class:`~factory.fuzzy.FuzzyChoice` that mimics
the behavior of ``getter`` in :class:`~factory.Iterator`
- Make the ``extra_kwargs`` parameter of :meth:`~factory.faker.Faker.generate` optional
- Add :class:`~factory.RelatedFactoryList` class for one-to-many support, thanks `Sean Harrington <https://github.com/seanharr11>`_.
- Make the `locale` argument for :class:`~factory.faker.Faker` keyword-only
*Bugfix:*
- Allow renamed arguments to be optional, thanks to `Justin Crown <https://github.com/mrname>`_.
- Fix `django_get_or_create` behavior when using multiple fields with `unique=True`, thanks to `YPCrumble <https://github.com/YPCrumble>`
2.11.1
-------------------
*Bugfix:*
- Fix passing deep context to a :class:`~factory.SubFactory` (``Foo(x__y__z=factory.Faker('name')``)
2.11.0
-------------------
*Bugfix:*
- Fix :class:`~factory.fuzzy.FuzzyFloat` to return a 15 decimal digits precision float by default
- :issue:`451`: Restore :class:`~factory.django.FileField` to a
:class:`~factory.declarations.ParameteredAttribute`, relying on composition to parse the provided parameters.
- :issue:`389`: Fix random state management with ``faker``.
- :issue:`466`: Restore mixing :class:`~factory.Trait` and :meth:`~factory.post_generation`.