|
| 1 | +## look at http://docutils.sourceforge.net/sandbox/py-rest-doc/utils/pylintrc |
| 2 | +# for some of the options that are available |
| 3 | + |
| 4 | +[MESSAGES CONTROL] |
| 5 | +#C0103 - Invalid name "%s" (should match %s) - matches too many things, like variables w/ single char names |
| 6 | +#R0904 - Too Many public methods |
| 7 | +#R0903 - Too Few public methods |
| 8 | +#W0511 - TODO in code |
| 9 | +#W0232 - Class has no __init__ method |
| 10 | +#R0922 - Abstract class is only referenced 1 times |
| 11 | +#R0801 - Similar lines in %d files |
| 12 | +#R0921 - Abstract class not referenced |
| 13 | +#W0141 - Used builtin function 'map' |
| 14 | +#R0401 - cyclic-import |
| 15 | +#I0013 - Ignore the 'Ignoring entire file' warning |
| 16 | +#W0142 - Used * or ** magic |
| 17 | +#W0622 - redefined-builti |
| 18 | +#C0325 - superfluous-parens |
| 19 | +#R0205 - useless-object-inheritance |
| 20 | +disable=C0103,R0904,R0903,W0511,W0232,R0922,R0801,R0921,W0141,R0401,I0013,W0142,W0622,C0325,R0205,C0330,C0302,E231,C0415,R0201,E1133,C0112,C0116,W0221 |
| 21 | + |
| 22 | +[FORMAT] |
| 23 | +# Maximum number of characters on a single line. |
| 24 | +max-line-length=100 |
| 25 | + |
| 26 | +[DESIGN] |
| 27 | +# Maximum number of arguments for function / method |
| 28 | +max-args=15 |
| 29 | +# Argument names that match this expression will be ignored. Default to name |
| 30 | +# with leading underscore |
| 31 | +ignored-argument-names=_.* |
| 32 | +# Maximum number of locals for function / method body |
| 33 | +max-locals=25 |
| 34 | +# Maximum number of return / yield for function / method body |
| 35 | +max-returns=6 |
| 36 | +# Maximum number of branch for function / method body |
| 37 | +max-branches=20 |
| 38 | +# Maximum number of statements in function / method body |
| 39 | +max-statements=60 |
| 40 | +# Maximum number of parents for a class (see R0901). |
| 41 | +max-parents=10 |
| 42 | +# Maximum number of attributes for a class (see R0902). |
| 43 | +max-attributes=40 |
| 44 | +# Minimum number of public methods for a class (see R0903). |
| 45 | +min-public-methods=2 |
| 46 | +# Maximum number of public methods for a class (see R0904). |
| 47 | +max-public-methods=60 |
| 48 | +# checks for similarities and duplicated code. This computation may be |
| 49 | +# memory / CPU intensive, so you should disable it if you experiments some |
| 50 | +# problems. |
| 51 | +# |
| 52 | + |
| 53 | +[SIMILARITIES] |
| 54 | +# Minimum lines number of a similarity. |
| 55 | +min-similarity-lines=25 |
| 56 | +# Ignore comments when computing similarities. |
| 57 | +ignore-comments=yes |
| 58 | +# Ignore docstrings when computing similarities. |
| 59 | +ignore-docstrings=yes |
| 60 | + |
| 61 | +[TYPECHECK] |
| 62 | +# List of classes names for which member attributes should not be checked |
| 63 | +# (useful for classes with attributes dynamically set). |
| 64 | +#ignored-classes=foo.bar |
| 65 | + |
| 66 | +# List of module names for which member attributes should not be checked |
| 67 | +# (useful for modules/projects where namespaces are manipulated during runtime |
| 68 | +# and thus existing member attributes cannot be deduced by static analysis. It |
| 69 | +# supports qualified module names, as well as Unix pattern matching. |
| 70 | +ignored-modules=bluepyopt.deapext.*,sqlite3,seaborn,neurom,morphio,kgforge,dask,dask_mpi,neuron,bglibpy,voxcell,synthesis_workflow.synthesis,luigi_tools |
0 commit comments