Skip to content

Commit fd3d1ad

Browse files
committed
Explain ignores
1 parent 91719e3 commit fd3d1ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ disable = [
236236

237237
# This format is described in the following issue:
238238
# https://github.com/christopherpickering/pylint-per-file-ignores/issues/160
239+
#
240+
# We ignore invalid names because:
241+
# - We want to use generated module names, which may not be valid, but are never seen.
242+
# - We want to use global variables in documentation, which may not be uppercase
239243
per-file-ignores = """
240244
docs/:invalid-name
241245
doccmd_README_rst.*.py:invalid-name

0 commit comments

Comments
 (0)