Skip to content

Commit

Permalink
Merge pull request #185 from aisk/dev-deps
Browse files Browse the repository at this point in the history
add httpx and aiohttp as dev dependencies
  • Loading branch information
ojii authored Jul 13, 2024
2 parents 5a89d17 + 4c28e54 commit 8a34c0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
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

0 comments on commit 8a34c0d

Please sign in to comment.