Skip to content

Add --no-write-to-file flag for read-only doccmd commands#2717

Merged
adamtheturtle merged 2 commits intomainfrom
add-no-write-to-file-flag
Nov 8, 2025
Merged

Add --no-write-to-file flag for read-only doccmd commands#2717
adamtheturtle merged 2 commits intomainfrom
add-no-write-to-file-flag

Conversation

@adamtheturtle
Copy link
Member

Summary

  • Add --no-write-to-file flag to doccmd invocations that use read-only tools (shellcheck, mypy, pyright, vulture, pylint, interrogate)
  • Tools that write to files (shfmt --write, ruff check --fix, ruff format) are intentionally not changed

Test plan

  • Pre-commit hooks pass
  • Read-only checks work correctly with the new flag

🤖 Generated with Claude Code

@adamtheturtle adamtheturtle merged commit cded520 into main Nov 8, 2025
9 checks passed
@adamtheturtle adamtheturtle deleted the add-no-write-to-file-flag branch November 8, 2025 19:58
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