Skip to content

Commit

Permalink
Removes unsupported pylint no-space-check option
Browse files Browse the repository at this point in the history
As of pylint 2.6, `no-space-check` is not a supported option in the
pylint configuration file [1]. This commit removes the option from the
project-specific pylintrc to silence errors from pylint during
development in emacs. Since pylint is now at version 4 and no one else
on the team has run into this issue, I strongly suspect no one else is
using this pylintrc the same way I am. If folks want to make a case for
removing this file entirely in favor of some other IDE-based linting
they prefer, I'm open to that.

[1] https://pylint.pycqa.org/en/latest/whatsnew/2/2.6/summary.html#other-changes
  • Loading branch information
huddlej committed Dec 19, 2024
1 parent 79a4742 commit 46745d6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,6 @@ max-line-length=100
# Maximum number of lines in a module
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
Expand Down

0 comments on commit 46745d6

Please sign in to comment.