RepoPilot

pallets / click

Search pallets/click

GitHub

Code

How pallets/click is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new parameter type

  • Subclass click.ParamType in src/click/types.py and implement convert() method
  • Export the new type from src/click/__init__.py

Add a new built-in decorator for common CLI patterns

  • Implement decorator function in src/click/decorators.py following existing patterns
  • Export decorator from src/click/__init__.py
  • Add documentation in docs/

Add shell completion support for a new shell

  • Add shell-specific completion class and script template in src/click/shell_completion.py

Change the public API

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.
  • The file list is newer than the written guide, so descriptions and suggested changes may describe older code.

Code quality and hotspots

Largest source files

  • Branch points26 per file on average
  • Code issues0 errors, 9 warnings
  • Largest file3,839 lines
  • Hotspot load5 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions6 workflows
  • Tests59 test filesPytest · 1.8 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: tests · tests/test_types · tests/test_utils

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.