Skip to content
Back to skills

Fixtures

ASecurity

chore(deps): bump click 8.1.7 -> 8.2.1

  • 3,953 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentspythongit

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add microsoft/apm --skill fixtures --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fixtures?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fixtures
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/microsoft-fixtures-9d291ae6/badge)](https://www.skillsdirectory.com/skills/microsoft-fixtures-9d291ae6)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
chore(deps): bump click 8.1.7 -> 8.2.1

## TL;DR

Routine click upgrade. Picks up the new `Context` generic typing
and a fix for boolean-flag short forms. One type hint adjusted in
`cli.py`. Lockfile regenerated; full unit suite green.

## Problem (WHY)

- click 8.2.x ships a typing fix flagged by mypy on Python 3.12.
- Staying on 8.1.7 means our type checks fail under the supported
  Python matrix.

The skill's anchor for cite-or-omit applies here too:
["Add what the agent lacks, omit what it knows"](https://agentskills.io/skill-creation/best-practices)
-- this PR body says only what the diff alone cannot.

## Approach (WHAT)

Mechanical. Bump version pin, regenerate lockfile, adjust one
type hint.

## Implementation (HOW)

| File | Change |
|---|---|
| `pyproject.toml` | `click = "^8.2.1"` (was `^8.1.7`). |
| `uv.lock` | Regenerated by `uv sync`. |
| `src/apm_cli/cli.py` | One type hint updated for new `click.Context` generic. |

## Trade-offs

- **Direct bump vs caret-locking to 8.1**: chose direct bump
  because the typing fix is the reason for the upgrade.

## Validation

```
$ uv sync --extra dev
resolved in 2.1s
$ uv run pytest tests/unit -x
2418 passed in 38.7s
```

## How to test

- [ ] `uv sync --extra dev`
- [ ] `uv run pytest tests/unit -x` (expect 2418 passing)
- [ ] `uv run mypy src/apm_cli` (expect 0 errors)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Files in this skill

  • auth-refactor__with_skill.md3.7 KB
  • auth-refactor__without_skill.md1009 B
  • dep-bump__with_skill.md1.4 KB
  • dep-bump__without_skill.md246 B
  • docs-only__with_skill.md1.8 KB
  • docs-only__without_skill.md264 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…