- name: Install dependencies
run: |
python -m pip install --upgrade pip
- python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest pytest-cov
+ python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest pytest-cov ruff
- name: Typecheck
run: |
python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns
+ - name: Lint
+ run: |
+ ruff check dns
- name: Test with pytest
run: |
pytest --cov=dns --cov-branch --cov-report=xml:coverage.xml