From cd548f779a6d4959f70eaa974047d2802b32ae69 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 6 Jan 2026 17:02:36 +0100 Subject: [PATCH] [PR #11385/d1352702 backport][stable-12] CI: Let the Python formatters and linters apply to all files in the collection (#11386) CI: Let the Python formatters and linters apply to all files in the collection (#11385) Let the Python formatters and linters apply to all files in the collection. (cherry picked from commit d1352702f92236d849cd8bc32cae2b5bce6b44a2) Co-authored-by: Felix Fontein --- antsibull-nox.toml | 1 + ruff.toml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/antsibull-nox.toml b/antsibull-nox.toml index dbb5985e1d..271147f3f0 100644 --- a/antsibull-nox.toml +++ b/antsibull-nox.toml @@ -20,6 +20,7 @@ stable_branches = [ "stable-*" ] [sessions] [sessions.lint] +code_files = ["."] # consider all Python files in the collection run_isort = false run_black = false run_ruff_check = true diff --git a/ruff.toml b/ruff.toml index c4c0354847..3c7ee4dc0a 100644 --- a/ruff.toml +++ b/ruff.toml @@ -4,9 +4,6 @@ line-length = 120 -# Include only the files: -include = ["plugins/**/*.py", "tests/unit/**/*.py", "noxfile.py"] - [lint] # https://docs.astral.sh/ruff/rules/