Skip to content

format code and created tests#4

Merged
NEFORCEO merged 7 commits intomasterfrom
edit_code
Feb 24, 2026
Merged

format code and created tests#4
NEFORCEO merged 7 commits intomasterfrom
edit_code

Conversation

@NEFORCEO
Copy link
Member

@NEFORCEO NEFORCEO commented Feb 24, 2026

🏝 Changes

📝 Documentation:
➖ Added Annotated[Type, Doc(...)] docstrings to HTTPClient.__init__ parameters (request_configs, logger, middleware_manager)

👨‍🔬 Testing:
➖ Created tests/ directory with 37 unit tests
test_response.py - 17 tests for Response class
test_client.py - 14 tests for HTTPClient class
test_exceptions.py - 6 tests for exception classes

🍀 CI/CD:
➖ Added .github/workflows/tests.yml for GitHub Actions
➖ Runs tests on multiple OS (ubuntu, windows, macos) and Python versions (3.10-3.13)
➖ Includes linting (ruff) and type checking (mypy)
➖ Coverage threshold: 90%

🔋Test Results:

➖ 37 tests passed

➖ 71% code coverage

@NEFORCEO NEFORCEO closed this Feb 24, 2026
@NEFORCEO NEFORCEO reopened this Feb 24, 2026
@NEFORCEO NEFORCEO merged commit e39dec4 into master Feb 24, 2026
24 checks passed
@NEFORCEO NEFORCEO deleted the edit_code branch February 24, 2026 15:36
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