diff --git a/pyproject.toml b/pyproject.toml index 963ec8bb..3a3fd065 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ optional-dependencies.dev = [ "pydocstyle==6.3", "pyenchant==3.3.0rc1", "pylint==3.3.3", - "pylint-per-file-ignores==1.3.2", + "pylint-per-file-ignores==1.4.0", "pyproject-fmt==2.5.0", "pyright==1.1.392.post0", "pyroma==4.2", @@ -228,16 +228,13 @@ load-plugins = [ 'pylint.extensions.typing', ] -# This format is described in the following issue: -# https://github.com/christopherpickering/pylint-per-file-ignores/issues/160 -# # We ignore invalid names because: # - 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 -""" +per-file-ignores = [ + "docs/:invalid-name", + "doccmd_README_rst.*.py:invalid-name", +] [tool.pylint.'MESSAGES CONTROL']