From: Bob Halley Date: Wed, 24 Jul 2024 02:04:57 +0000 (-0700) Subject: run ruff in the CI X-Git-Tag: v2.7.0rc1~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91ea363d48ab0376fade54e51faedb208ed6816c;p=thirdparty%2Fdnspython.git run ruff in the CI --- 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