From: Collin Funk <collin.funk1@gmail.com> Date: Tue, 27 Feb 2024 00:02:34 +0000 (-0800) Subject: gnulib-tool.py: Add configuration files for Python tools. X-Git-Tag: v1.0~372 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e76d22822d4346d933b760ab1da18d671b37f573;p=gnulib.git gnulib-tool.py: Add configuration files for Python tools. * pygnulib/.pylintrc: New file, used by pylintrc. * pygnulib/setup.cfg: New file, currently only used for pycodestyle options. --- diff --git a/ChangeLog b/ChangeLog index 4553fd5ae5..17ad488893 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-02-26 Collin Funk <collin.funk1@gmail.com> + + gnulib-tool.py: Add configuration files for Python tools. + * pygnulib/.pylintrc: New file, used by pylintrc. + * pygnulib/setup.cfg: New file, currently only used for pycodestyle + options. + 2024-02-26 Collin Funk <collin.funk1@gmail.com> gnulib-tool.py: Fix undefined variable access. diff --git a/pygnulib/.pylintrc b/pygnulib/.pylintrc new file mode 100644 index 0000000000..7c4c1a338c --- /dev/null +++ b/pygnulib/.pylintrc @@ -0,0 +1,8 @@ +# .pylintrc + +[MESSAGES CONTROL] +disable=C0103,C0114,C0121,C0209,C0301,C0302,R0902,R0912,R0913,R0914,R0915,R1705,R1702,R1720 + +# Local Variables: +# mode: conf +# End: diff --git a/pygnulib/setup.cfg b/pygnulib/setup.cfg new file mode 100644 index 0000000000..5d4a17171a --- /dev/null +++ b/pygnulib/setup.cfg @@ -0,0 +1,10 @@ +# setup.cfg + +[pycodestyle] +ignore = E265,W503,E241,E711,E712,E201,E202,E221 +max-line-length = 136 +statistics = True + +# Local Variables: +# mode: conf +# End: