From cf5120972371b636d9016ed966969025cd1df037 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Aug 2025 14:56:45 +0000 Subject: [PATCH 1/4] Bump pylint-per-file-ignores from 1.4.0 to 2.0.3 Bumps [pylint-per-file-ignores](https://github.com/SAP/pylint-per-file-ignores) from 1.4.0 to 2.0.3. - [Release notes](https://github.com/SAP/pylint-per-file-ignores/releases) - [Changelog](https://github.com/SAP/pylint-per-file-ignores/blob/main/CHANGELOG.md) - [Commits](https://github.com/SAP/pylint-per-file-ignores/commits/v2.0.3) --- updated-dependencies: - dependency-name: pylint-per-file-ignores dependency-version: 2.0.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3bd00d71..1a5e5b7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ optional-dependencies.dev = [ "pyenchant==3.3.0rc1", "pygments==2.19.2", "pylint==3.3.8", - "pylint-per-file-ignores==1.4.0", + "pylint-per-file-ignores==2.0.3", "pyproject-fmt==2.6.0", "pyright==1.1.404", "pyroma==5.0", From adf8c3645a42e632c2284f81d91900ddaf2612d9 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 27 Aug 2025 21:05:41 +0100 Subject: [PATCH 2/4] Use new syntax for pylint-per-file-ignores --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1a5e5b7b..93328803 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -248,7 +248,7 @@ disable = [ # - We want to use global variables in documentation, which may not be uppercase. # - conf.py is a Sphinx configuration file which requires lowercase global variable names. per-file-ignores = [ - "docs/:invalid-name", + "docs/source/conf.py:invalid-name", "doccmd_README_rst.*.py:invalid-name", ] From 089bd05aa87fac10e0c4d4dd339f2b8e84d82d17 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 27 Aug 2025 21:12:31 +0100 Subject: [PATCH 3/4] Try ignoring errors also in more docs source --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 93328803..e356bf39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -249,6 +249,7 @@ disable = [ # - conf.py is a Sphinx configuration file which requires lowercase global variable names. per-file-ignores = [ "docs/source/conf.py:invalid-name", + "docs/source/doccmd*.py:invalid-name", "doccmd_README_rst.*.py:invalid-name", ] From 4af261e2d51082838fd62b6928a87b2f7e1a5bd2 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 27 Aug 2025 23:15:58 +0100 Subject: [PATCH 4/4] Better per-file-ignore --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e356bf39..cc10111b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -249,7 +249,7 @@ disable = [ # - conf.py is a Sphinx configuration file which requires lowercase global variable names. per-file-ignores = [ "docs/source/conf.py:invalid-name", - "docs/source/doccmd*.py:invalid-name", + "docs/source/doccmd_*.py:invalid-name", "doccmd_README_rst.*.py:invalid-name", ]