~apport-hackers/apport/main

« back to all changes in this revision

Viewing changes to .pylintrc

  • Committer: Simon Chopin
  • Author(s): Benjamin Drung
  • Date: 2023-04-27 09:25:18 UTC
  • Revision ID: git-v1:a32f25e5f28ebb086e64e628c10991c76b1c4c5c
refactor: Increase pylint's maximum public methods to 25

Increase the allowed maximum public methods to 25 and move the overrides
to the individual classes. It is okay for test case classes to have more
than 25 tests inside.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
  duplicate-code,
28
28
  invalid-name,
29
29
  missing-docstring,
30
 
  too-many-public-methods,
31
30
 
32
31
 
33
32
[REPORTS]
52
51
 
53
52
# Maximum number of attributes for a class (see R0902).
54
53
max-attributes=9
 
54
 
 
55
# Maximum number of public methods for a class (see R0904).
 
56
max-public-methods=25