Skip to content

Omitting depends_on is overwritten with tach sync #891

@craigmulligan

Description

@craigmulligan

From the modules docs:

Omitting the depends_on field means the module will be allowed to import from any other module. However, it will still be subject to those modules' public interfaces.

This works well when running tach check it's respected and the dependencies are not checked. But when one runs tach sync and then tach check it writes the depends_on back to the config and so you have to manually edit it.

I think there should be a specific flag like unchecked_depends_on or something rather than relying on the omission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responsewaiting for more info from the author - will eventually close if they don't respond

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions