Skip to content

Commit 35d415b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d87ae90 commit 35d415b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎CLAUDE.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# Agent Instructions for TheAlgorithms/Python
22

33
## Objective
4+
45
Fix the bug in `other/password.py` (Issue #15633).
56

67
## Rules (Based on CONTRIBUTING.md and AGENTS.md)
8+
79
1. **Code Style:** Use Python 3.15+, descriptive variable names, and type hints.
810
2. **Doctests:** Every modified function must have doctests.
911
3. **Exceptions:** Raise `ValueError` for invalid inputs.
1012
4. **PR Requirements:** You must check at least one box in the PR template.
1113
5. **Scope:** Only change one algorithm file. Do not update README.md or DIRECTORY.md.
1214

1315
## Task Instructions
16+
1417
1. Fork the repository and create a new branch.
1518
2. Edit `other/password.py` to add a `ValueError` guard in `alternative_password_generator`.
1619
3. Run `python -m doctest -v other/password.py` to ensure tests pass.

0 commit comments

Comments
 (0)