Skip to content

Allow running the notowned check when the local repository is dirty #225

@autarch

Description

@autarch

Description

I'd like an option to run the notowned check for a dirty repo. Ideally, it would ignore files that are not staged when run this way.

Reasons

I'm setting this up for a work repo. We want to enforce the rule that all files have owners via the notowned check. We'd also like to use this as part of our pre-commit linting. However, this particular check always fails when run via a pre-commit hook because the repo is dirty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions