Skip to content

Agent config to avoid hard-coding module names in prek config #1632

@nathanjmcdougall

Description

@nathanjmcdougall

@copilot do NOT accept specific modules as args! rely on the source-root. Enable the strict arg and add docstrings if necessary to comply with it,

Originally posted by @nathanjmcdougall in #1624 (comment)

When creating custom hooks, we should NEVER hard-code module names into the .pre-commit-config file. We should use --source-root=src or similar and then automatically scan. This helps avoid rot.

Metadata

Metadata

Labels

agentConfiguration updates for LLM coding agents

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions