Closed
Conversation
Add format-dedent>=0.1.1 to dev dependencies and configure it as a local pre-commit hook that formats multiline strings inside textwrap.dedent() calls. Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com> Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/8a18a5b4-ad60-402f-8829-6fca51908373
Copilot
AI
changed the title
[WIP] Add format-dedent as a pre-commit hook
Add format-dedent pre-commit hook for dev
Mar 25, 2026
Copilot AI
added a commit
that referenced
this pull request
Mar 25, 2026
Create a new agent skill that provides guidance for proactively identifying tests that are potentially affected by code changes, to catch regressions before CI. Includes general principles (trace callers, check integration tests, check exact-output tests) and domain-specific rules (rule management changes should always trigger test_readme_example tests). Closes #1528 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com> Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/3215728e-fb96-40f4-b950-1616594dbc98
nathanjmcdougall
added a commit
that referenced
this pull request
Mar 25, 2026
* Initial plan * Add usethis-python-test-affected-find agent skill Create a new agent skill that provides guidance for proactively identifying tests that are potentially affected by code changes, to catch regressions before CI. Includes general principles (trace callers, check integration tests, check exact-output tests) and domain-specific rules (rule management changes should always trigger test_readme_example tests). Closes #1528 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com> Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/3215728e-fb96-40f4-b950-1616594dbc98 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add format-dedent as a local pre-commit hook to auto-format multiline strings inside
textwrap.dedent()calls.format-dedent>=0.1.1to dev dependenciesuv run --frozen --offline format-dedent --writerevOriginal prompt
format-dedentfor dev #1148💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.