Skip to content

Commit

Permalink
gnulib-tool.py: Add configuration files for Python tools.
Browse files Browse the repository at this point in the history
* pygnulib/.pylintrc: New file, used by pylintrc.
* pygnulib/setup.cfg: New file, currently only used for pycodestyle
options.
  • Loading branch information
collinfunk authored and bhaible committed Feb 27, 2024
1 parent a8ebded commit e76d228
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2024-02-26 Collin Funk <[email protected]>

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 <[email protected]>

gnulib-tool.py: Fix undefined variable access.
Expand Down
8 changes: 8 additions & 0 deletions pygnulib/.pylintrc
Original file line number Diff line number Diff line change
@@ -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:
10 changes: 10 additions & 0 deletions pygnulib/setup.cfg
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit e76d228

Please sign in to comment.