Is there a way to configure the checks for the bad-whitespace
checks in PyLint? I can currently disable checking but I would much rather enforce a whitespace convention instead of disabling it.
There are two options you could use:
Globally disable the bad-whitespace warning:
pylint --disable=C0326
Use a Pylint configuration file:
pylint --rcfile=/path/to/config.file
This is what you would put in the config file to disable the bad-whitespace warning:
disable=C0326