On 2/25/24 11:29 AM, Collin Funk wrote:
> I would hope that it just
> involves a simple configuration file that takes the options we have at
> the top of gnulib-tool.py.

Adding the two attached files to the root directory of gnulib should
adjust the warnings to the agreed upon coding style (as far as
pycodestyle and pylint are concerned). It works with Emacs and Eglot
using pylsp. I assume other editors should work similarly.

Not sure if they are worth adding to the repository but I figured I
would share them just incase anyone else wants to work on stuff in the
future.

More information about these files here:
https://pycodestyle.pycqa.org/en/latest/intro.html#configuration
https://pylint.readthedocs.io/en/stable/user_guide/configuration/index.html#

Collin
# setup.cfg

[pycodestyle]
ignore = E265,W503,E241,E711,E712,E201,E202,E221
max-line-length = 136
statistics = True

# Local Variables:
# mode: conf
# End:
# pylintrc

[MESSAGES CONTROL]
disable=C0103,C0114,C0121,C0209,C0301,C0302,R0902,R0912,R0913,R0914,R0915,R1705,R1702,R1720

# Local Variables:
# mode: conf
# End:

Reply via email to