Skip to content

Update agent instructions to prefer prek and uv run - #8552

Merged
Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
microsoft:mainfrom
jenshnielsen:copilot-instructions-uv-prek
Oct 2, 2026
Merged

Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
microsoft:mainfrom
jenshnielsen:copilot-instructions-uv-prek

Conversation

@jenshnielsen

Copy link
Copy Markdown
Collaborator

Use prek instead of pre-commit when it is available on the PATH, and run commands that need the Python environment via uv run (with --extra test for pytest and pyright) when the environment is managed with uv.

This hopefully will make the agent stop trying to use tools that do not exist in my personal workflow

Use prek instead of pre-commit when it is available on the PATH, and run
commands that need the Python environment via uv run (with --extra test for
pytest and pyright) when the environment is managed with uv.
@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.19%. Comparing base (22b7787) to head (2361664).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8552   +/-   ##
=======================================
  Coverage   72.19%   72.19%           
=======================================
  Files         307      307           
  Lines       32322    32322           
=======================================
  Hits        23336    23336           
  Misses       8986     8986           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Merged via the queue into microsoft:main with commit cb347aa Oct 2, 2026
17 checks passed
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.

3 participants