Skip to content

Conversation

@jenshorn
Copy link
Collaborator

Enable isort, black and flake8 using poetry to make it easier to handle tools and their versions. Also aim to sync the config of isort and black during CI as they have different defaults. For example Black wants to have this formatting:

from tests.fixtures.sample_responses import (
    SAMPLE_CUSTOMER_DETAILS_JSON,
    SAMPLE_EMS_SETTINGS_RESPONSE,
    SAMPLE_FCRD_RESPONSE,
    SAMPLE_LOGIN_RESPONSE,
    SAMPLE_POWER_DATA_RESPONSE,
)

But isort wants this:

from tests.fixtures.sample_responses import (SAMPLE_CUSTOMER_DETAILS_JSON,
                                             SAMPLE_EMS_SETTINGS_RESPONSE,
                                             SAMPLE_FCRD_RESPONSE,
                                             SAMPLE_LOGIN_RESPONSE,
                                             SAMPLE_POWER_DATA_RESPONSE)

@jenshorn jenshorn marked this pull request as draft August 24, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants