From fcaa10d1f92199c06c2b312b301ceb29672ff968 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 27 Aug 2025 23:22:03 +0100 Subject: [PATCH 1/2] Bump pylint per-file-ignores --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3bd00d71..cc10111b 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", @@ -248,7 +248,8 @@ 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", + "docs/source/doccmd_*.py:invalid-name", "doccmd_README_rst.*.py:invalid-name", ] From af9bf7520cd87956fbae5de426958db1804eaa14 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 27 Aug 2025 23:29:26 +0100 Subject: [PATCH 2/2] Bump pylint per-file-ignores --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cc10111b..b5eeff04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -250,7 +250,7 @@ disable = [ per-file-ignores = [ "docs/source/conf.py:invalid-name", "docs/source/doccmd_*.py:invalid-name", - "doccmd_README_rst.*.py:invalid-name", + "doccmd_README_rst_*.py:invalid-name", ] [tool.pylint.'FORMAT']