Skip to content

Add types-PyYAML stub to dev dependencies for mypy #4

Add types-PyYAML stub to dev dependencies for mypy

Add types-PyYAML stub to dev dependencies for mypy #4

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev]"
- run: pytest --tb=short -q
- run: ruff check src/
- run: mypy src/scraperguard/ --ignore-missing-imports
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff
- run: ruff check src/
- run: ruff format --check src/