Skip to content

Commit

Permalink
Fix integration sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Apr 25, 2024
1 parent a00f609 commit 9461c32
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aio_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Install dependencies
run: |
poetry install -n
poetry run pip install -U aioboto3 boto3-stubs types-aiobotocore types-aioboto3
poetry run pip install -U mypy ruff aioboto3 boto3-stubs types-aiobotocore types-aioboto3
poetry install -n
- name: Install Node.js dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install mypy flake8 boto3 botocore botocore-stubs boto3-stubs-lite types-requests
python -m pip install mypy ruff boto3 botocore botocore-stubs boto3-stubs-lite types-requests
- name: Install Node.js dependencies
run: |
npm install -g pyright
Expand Down
3 changes: 2 additions & 1 deletion scripts/check_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def setup_logging(level: int) -> logging.Logger:
return logger


@dataclass(kw_only=True, slots=True)
@dataclass
class CLINamespace:
"""
CLI namespace.
Expand Down Expand Up @@ -142,6 +142,7 @@ def run_ruff(path: Path) -> None:
"E501",
"N802",
"N803",
"N812",
]
with tempfile.NamedTemporaryFile("w+b") as f:
try:
Expand Down
3 changes: 2 additions & 1 deletion scripts/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""
Integration tests.
"""

import argparse
import difflib
import enum
Expand Down Expand Up @@ -60,7 +61,7 @@ def setup_logging(level: int) -> logging.Logger:
return logger


@dataclass(kw_only=True, slots=True)
@dataclass
class CLINamespace:
"""
CLI namespace.
Expand Down

0 comments on commit 9461c32

Please sign in to comment.