Skip to content

Address code smell: Data Clump: template, self, provider, group #233

Description

@tom-sapletta-com

code2llm reports Data Clump: template, self, provider, group in src/tagi/executor/publish.py:47.

Arguments (template, self, provider, group) are used together in multiple functions: src.tagi.executor.publish.PublishExecutor.create_github_pr, src.tagi.executor.publish.PublishExecutor.create_gitlab_mr.

Make the smallest refactor that removes the smell and run local tests.


Strategy Metadata:

  • planfile_id: PLF-248

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-smellAuto-created label for code-smellcode2llmAuto-created label for code2llmdata-clumpAuto-created label for data-clumpkoruAuto-created label for korullm-readyAuto-created label for llm-readymanagedAuto-created label for managednl-taskAuto-created label for nl-taskplanfileAuto-created label for planfilepriority-normalAuto-created label for priority-normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions