From 5027b8fc3bb51e8d7001fb8cc363591d3532ce17 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 7 Feb 2026 11:37:18 +0100 Subject: [PATCH] build: Lint Python code with ruff --- .github/workflows/ci.yml | 3 +++ edxsearch/urls.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 063198ae..d31c0b89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,9 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Lint Python code with ruff + run: pipx run ruff check + - name: Start Meilisearch run: make meili-up diff --git a/edxsearch/urls.py b/edxsearch/urls.py index 62e0b9cc..f9013646 100644 --- a/edxsearch/urls.py +++ b/edxsearch/urls.py @@ -1,6 +1,5 @@ """ import urls from search component to test it's operation when included within other django projects """ -import django from django.urls import include, path # from django.contrib import admin