diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8f1969d94..23c6d6f99 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -21,10 +21,12 @@ jobs: python-version: "3.10" - name: Install python packages and dependencies run: | + sudo snap install --no-wait ruff sudo apt update sudo apt install -y libapt-pkg-dev aspell pip install python-apt@https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/python-apt/2.4.0ubuntu1/python-apt_2.4.0ubuntu1.tar.xz pip install -U -e .[dev] + sudo snap watch --last=install - name: Run black run: | make test-black diff --git a/Makefile b/Makefile index 121181f81..7c3b8df96 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ test-flake8: .PHONY: test-ruff test-ruff: - ruff $(SOURCES) + ruff check $(SOURCES) .PHONY: test-integrations test-integrations: ## Run integration tests. diff --git a/setup.py b/setup.py index 3185fe971..33081c162 100644 --- a/setup.py +++ b/setup.py @@ -98,7 +98,6 @@ def is_rtd() -> bool: "pytest-mock", "pytest-subprocess", "requests-mock", - "ruff==0.4.3", "tox", "yamllint==1.32.0", ]