Skip to content

fix: prevent errors when running formatter with no format command #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: gh/ezyang/211/base
Choose a base branch
from

Conversation

ezyang
Copy link
Owner

@ezyang ezyang commented May 4, 2025

Stack from ghstack (oldest at bottom):

run_formatter_without_commit should not do anything if there isn't a "format" command in codemcp.toml. Right now it seems to trigger an error.

dffaf57  (Base revision)
a2ed1d0  Fix run_formatter_without_commit to properly handle missing format command
61ebcd8  Add E2E test for run_formatter_without_commit with no format command
HEAD     Auto-commit lint changes

codemcp-id: 293-fix-prevent-errors-when-running-formatter-with-no-

[ghstack-poisoned]
ezyang added a commit that referenced this pull request May 4, 2025
run_formatter_without_commit should not do anything if there isn't a "format" command in codemcp.toml. Right now it seems to trigger an error.

```git-revs
dffaf57  (Base revision)
a2ed1d0  Fix run_formatter_without_commit to properly handle missing format command
61ebcd8  Add E2E test for run_formatter_without_commit with no format command
HEAD     Auto-commit lint changes
```

codemcp-id: 293-fix-prevent-errors-when-running-formatter-with-no-
ghstack-source-id: 678637d
Pull-Request-resolved: #285
@ezyang ezyang mentioned this pull request May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant