Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add httpx and aiohttp as dev dependencies #185

Merged
merged 3 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
path: poetry.lock
key: ${{ github.sha }}-${{ matrix.python-version }}
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry install
- run: poetry run pytest --verbose

mypy:
Expand All @@ -74,7 +74,7 @@ jobs:
path: poetry.lock
key: ${{ github.sha }}-${{ matrix.python-version }}
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry install
- run: poetry run mypy

isort:
Expand All @@ -91,7 +91,7 @@ jobs:
path: poetry.lock
key: ${{ github.sha }}-3.12
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry install
- run: poetry run isort --check --diff src tests

black:
Expand All @@ -108,7 +108,7 @@ jobs:
path: poetry.lock
key: ${{ github.sha }}-3.12
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry install
- run: poetry run black --check src/ tests/

ruff:
Expand All @@ -125,5 +125,5 @@ jobs:
path: poetry.lock
key: ${{ github.sha }}-3.12
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry install
- run: poetry run ruff check src/ tests/
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ types-freezegun = "^1.1.6"
urllib3 = "< 1.27"
furo = "^2023.9.10"
ruff = "^0.0.292"
httpx = ">=0.15.0 <1.0.0"
aiohttp = "^3.6.2"

[tool.pytest.ini_options]
asyncio_mode = "auto"
Expand Down
Loading