feat: replace urllib with requests library and refactor HTTP client implementation
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user