• 
      

    Split django_evolution.mutations into sub-modules.

    Review Request #12227 — Created April 5, 2022 and submitted

    Information

    Django Evolution
    release-2.x

    Reviewers

    django_evolution.mutations was another big module with a lot of
    complexity. To prepare for new logic that'll be coming soon, and new
    mutations, this change splits up the module into some sub-modules and
    sub-sub-modules.

    All base classes and the Simulation class now live in
    django_evolution.mutations.base.

    All actual mutation classes live in their own respective sub-modules
    within django_evolution.mutations.

    These classes will continue to be imported via
    django_evolution.mutations. There's no plan to deprecate this,
    especially since this all evolution files have been generated to import
    from here.

    No code has been changed other than Version Added or Version Changed
    docstring updates at module and class levels detailing the move.

    All unit tests pass.

    Summary ID
    Split django_evolution.mutations into sub-modules.
    `django_evolution.mutations` was another big module with a lot of complexity. To prepare for new logic that'll be coming soon, and new mutations, this change splits up the module into some sub-modules and sub-sub-modules. All base classes and the `Simulation` class now live in `django_evolution.mutations.base`. All actual mutation classes live in their own respective sub-modules within `django_evolution.mutations`. These classes will continue to be imported via `django_evolution.mutations`. There's no plan to deprecate this, especially since this all evolution files have been generated to import from here. No code has been changed other than `Version Added` or `Version Changed` docstring updates at module and class levels detailing the move.
    8a1ba4635f66128f5fe46c6ee3ccd49aef8f6a7a
    Description From Last Updated

    W503 line break before binary operator

    reviewbotreviewbot
    Checks run (1 failed, 1 succeeded)
    flake8 failed.
    JSHint passed.

    flake8

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.x (6e80db2)