Skip to content

Allow ruff analyze to be run across a uv workspace packages #16598

@mjclarke94

Description

@mjclarke94

We currently have a monorepo setup where customer specific packages load in logic from several core (shared) libraries. It would be useful to be able to use ruff graph analyze to identify recursively what the minimum set of files from our other packages that is required to run the customer code package, enabling sparse checkouts.

This is also useful when wanting to run test suites in a way where tests which might be impacted by code changes are run first/exclusively.

There is a related feature in Pants which would be a great feature to have parity with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzeRelated to Ruff analyze functionalitywishNot on the current roadmap; maybe in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions