Skip to content

Commit 02095a3

Browse files
wip update calude instructions
1 parent 1adc791 commit 02095a3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

CLAUDE.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,20 @@ It provides hook specification and implementation mechanisms through a plugin ma
1818
- reread files that get fixed by pre-commit
1919

2020

21+
## Development process
22+
23+
- always read `src/pluggy/*.py` to get a full picture
24+
- consider backward compatibility
25+
- always run all tests
26+
- always run pre-commit before try to commit
27+
- prefer running full pre-commit over ruff/mypy alone
28+
29+
30+
2131
## Core Architecture
2232

2333
### Main Components
2434

25-
- always read all python files in `src/pluggy/ to have full context`
26-
2735
- **PluginManager** (`src/pluggy/_manager.py`): Central registry that manages plugins and coordinates hook calls
2836
- **HookCaller** (`src/pluggy/_hooks.py`): Executes hook implementations with proper argument binding
2937
- **HookImpl/HookSpec** (`src/pluggy/_hooks.py`): Represent hook implementations and specifications

0 commit comments

Comments
 (0)