Skip to content

Add tools to poetry - #52

Merged
jenshorn merged 1 commit into
masterfrom
add-isort-to-poetry
Sep 4, 2026
Merged

Add tools to poetry#52
jenshorn merged 1 commit into
masterfrom
add-isort-to-poetry

Conversation

@jenshorn

Copy link
Copy Markdown
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
@jenshorn
jenshorn force-pushed the add-isort-to-poetry branch from c880ddc to e70a3fd Compare September 4, 2026 13:08
@jenshorn
jenshorn marked this pull request as ready for review September 4, 2026 13:12
@jenshorn
jenshorn merged commit 4fccbd3 into master Sep 4, 2026
1 check passed
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.

1 participant