-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
blockedAnother issue is preventing progressAnother issue is preventing progressbugSomething isn't workingSomething isn't working
Milestone
Description
Motivation
Calling get_hook_names modifies the YAML file - only with cosmetic changes but it's still annoying. We should be able to have a read-only version of this operation.
More generally, respecting round-trip quote convention would be excellent, if possible under ruamel.yaml. I feel like I had an issue open for this in the past but the conclusion was that it didn't support this. In any case, having a read_only=True flag to the edit_pre_commit_config_yaml context manager might be a simple fix.
Summary of desired enhancement
Test and fix the side effect of get_hook_names.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blockedAnother issue is preventing progressAnother issue is preventing progressbugSomething isn't workingSomething isn't working