From bb9c47f9054deb84fc050e7d70b05eec5a50de91 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 22 May 2024 17:53:40 +0500 Subject: [PATCH] chore: running make upgrade job. --- .github/workflows/quality-checks.yml | 2 +- ruff.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 0227ad02f66f..d5c5483bd0d0 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -87,5 +87,5 @@ jobs: ruff check lms/djangoapps/ lms/envs/ lms/lib/ lms/tests.py \ openedx/core/djangoapps/ openedx/core/djangolib/ openedx/core/lib/ openedx/core/tests/ \ openedx/core/tests/ openedx/core/types/ openedx/features/ openedx/testing/ openedx/tests/ \ - cms common xmodule --preview + cms common xmodule --preview --verbose diff --git a/ruff.toml b/ruff.toml index 5b3093e9ddf5..26fe6ff5c86c 100644 --- a/ruff.toml +++ b/ruff.toml @@ -115,7 +115,6 @@ ignore = [ "E712", # singleton-comparison "E721", # unidiomatic-typecheck "E722", # bare-except - "F401", # unused-import "F403", # wildcard-import "F811", # function-redefined "F811", # reimported @@ -129,3 +128,7 @@ ignore = [ "PLW0602", # global-variable-not-assigned "SIM118", # consider-iterating-dictionary ] + +[lint.extend-per-file-ignores] +# Also ignore `E402` in all `__init__.py` files. +"__init__.py" = ["E402"]