Skip to content

Implement arithmetic functions + docstrings#14

Open
srajolu-glitch wants to merge 1 commit into
PNWCS:mainfrom
srajolu-glitch:feature/siddendra_suryateja
Open

Implement arithmetic functions + docstrings#14
srajolu-glitch wants to merge 1 commit into
PNWCS:mainfrom
srajolu-glitch:feature/siddendra_suryateja

Conversation

@srajolu-glitch

Copy link
Copy Markdown

Summary

  • Implemented add_numbers, factorial, and is_prime in src/arithmetic/arithmetic.py
  • Added module/function docstrings to satisfy pydocstyle (ruff) rules
  • All tests pass locally with `poetry run pytest -q
  • Pre-commit hooks pass (formatting, mypy, ruff, etc.)

How to test

  1. poetry install`
  2. poetry run pre-commit run --all-files # all green
  3. poetry run pytest -q # tests pass

Notes

  • Branch: feature/siddendra_suryateja
  • Ready for code review.

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.

1 participant