From 91ea363d48ab0376fade54e51faedb208ed6816c Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Tue, 23 Jul 2024 19:04:57 -0700 Subject: [PATCH] run ruff in the CI --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 990eba30..f393a106 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,10 +48,13 @@ jobs: - 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 -- 2.47.3