File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ optional-dependencies.dev = [
5555 " pyenchant==3.3.0rc1" ,
5656 " pygments==2.19.1" ,
5757 " pylint==3.3.3" ,
58- " pylint-per-file-ignores==1.3.2 " ,
58+ " pylint-per-file-ignores==1.4.0 " ,
5959 " pyproject-fmt==2.5.0" ,
6060 " pyright==1.1.392.post0" ,
6161 " pyroma==4.2" ,
@@ -244,16 +244,14 @@ disable = [
244244 ' useless-type-doc' ,
245245]
246246
247- # This format is described in the following issue:
248- # https://github.com/christopherpickering/pylint-per-file-ignores/issues/160
249- #
250247# We ignore invalid names because:
251248# - We want to use generated module names, which may not be valid, but are never seen.
252- # - We want to use global variables in documentation, which may not be uppercase
253- per-file-ignores = """
254- docs/:invalid-name
255- doccmd_README_rst.*.py:invalid-name
256- """
249+ # - We want to use global variables in documentation, which may not be uppercase.
250+ # - conf.py is a Sphinx configuration file which requires lowercase global variable names.
251+ per-file-ignores = [
252+ " docs/:invalid-name" ,
253+ " doccmd_README_rst.*.py:invalid-name" ,
254+ ]
257255
258256[tool .pylint .'FORMAT' ]
259257
You can’t perform that action at this time.
0 commit comments