diff --git a/pyproject.toml b/pyproject.toml index 63af509da..dc5341537 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ optional-dependencies.dev = [ "pydocstyle==6.3", "pyenchant==3.3.0rc1", "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", @@ -224,8 +224,9 @@ load-plugins = [ # - We want to use generated module names, which may not be valid, but are never seen. # - We want to use global variables in documentation, which may not be uppercase per-file-ignores = [ - "docs/:invalid-name", - "doccmd_README_rst.*.py:invalid-name", + "docs/source/conf.py:invalid-name", + "docs/source/doccmd_*.py:invalid-name", + "doccmd_README_rst_*.py:invalid-name", ] [tool.pylint.'MESSAGES CONTROL']