]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Add configuration files for Python tools.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 27 Feb 2024 00:02:34 +0000 (16:02 -0800)
committerBruno Haible <bruno@clisp.org>
Tue, 27 Feb 2024 02:09:11 +0000 (03:09 +0100)
* pygnulib/.pylintrc: New file, used by pylintrc.
* pygnulib/setup.cfg: New file, currently only used for pycodestyle
options.

ChangeLog
pygnulib/.pylintrc [new file with mode: 0644]
pygnulib/setup.cfg [new file with mode: 0644]

index 4553fd5ae50f4d71fba55f884fd90ba0d4f72b79..17ad488893a5672d6cc074f92160b6871e43efc0 100644 (file)
--- 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 (file)
index 0000000..7c4c1a3
--- /dev/null
@@ -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 (file)
index 0000000..5d4a171
--- /dev/null
@@ -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: