Skip to content

Find pyproject.toml in parent directory #474

Description

@imanoid

Doit is capable of finding a dodo.py file in a parent directory. However, the same does not hold for pyproject.toml.

We want to use a custom TaskLoader and define it in pyproject.toml. When navigating into a subdirectory we can execute doit commands, but it wont load the [tool.doit.*] sections from the pyproject.toml in the root directory. Because of this, we the plugin only works, when we run doit from the root directory.

Could you change doit, so that it recursively searches the parent directories for a pyproject.toml?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions