feat: replace urllib with requests library and refactor HTTP client implementation

This commit is contained in:
2025-11-08 01:11:31 +00:00
parent a4e52d4f76
commit 49d0afb457
53 changed files with 369 additions and 259 deletions
+5 -5
View File
@@ -27,16 +27,16 @@ test:
pytest tests/ -v --tb=long --full-trace -l --maxfail=10
test-cov:
pytest --cov=pr --cov-report=html --cov-report=term-missing
pytest --cov=rp --cov-report=html --cov-report=term-missing
@echo "Coverage report generated in htmlcov/index.html"
lint:
flake8 pr tests --max-line-length=100 --ignore=E203,W503
mypy pr --ignore-missing-imports
flake8 rp tests --max-line-length=100 --ignore=E203,W503
mypy rp --ignore-missing-imports
format:
black pr tests
isort pr tests --profile black
black rp tests
isort rp tests --profile black
clean:
rm -rf build/