Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

162 lines
2.9KB

  1. [MASTER]
  2. jobs=1
  3. persistent=yes
  4. suggestion-mode=yes
  5. unsafe-load-any-extension=no
  6. [MESSAGES CONTROL]
  7. confidence=
  8. disable=C,too-few-public-methods,redefined-outer-name
  9. enable=c-extension-no-member
  10. [REPORTS]
  11. evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
  12. output-format=colorized
  13. reports=no
  14. score=yes
  15. [REFACTORING]
  16. max-nested-blocks=5
  17. never-returning-functions=optparse.Values,sys.exit
  18. [BASIC]
  19. argument-naming-style=snake_case
  20. attr-naming-style=snake_case
  21. class-attribute-naming-style=snake_case
  22. class-naming-style=PascalCase
  23. const-naming-style=UPPER_CASE
  24. docstring-min-length=-1
  25. function-naming-style=snake_case
  26. # Good variable names which should always be accepted, separated by a comma
  27. good-names=i,
  28. j,
  29. k,
  30. ex,
  31. Run,
  32. fd,
  33. _
  34. include-naming-hint=no
  35. inlinevar-naming-style=any
  36. method-naming-style=snake_case
  37. module-naming-style=snake_case
  38. name-group=
  39. no-docstring-rgx=^_
  40. variable-naming-style=snake_case
  41. [FORMAT]
  42. expected-line-ending-format=LF
  43. ignore-long-lines=^\s*(# )?<?https?://\S+>?$
  44. max-line-length=100
  45. max-module-lines=1000
  46. no-space-check=trailing-comma,
  47. dict-separator
  48. single-line-class-stmt=no
  49. single-line-if-stmt=no
  50. [LOGGING]
  51. # Logging modules to check that the string format arguments are in logging
  52. # function parameter format
  53. logging-modules=logging
  54. [MISCELLANEOUS]
  55. # List of note tags to take in consideration, separated by a comma.
  56. notes=FIXME,
  57. XXX,
  58. TODO
  59. [SIMILARITIES]
  60. ignore-comments=yes
  61. ignore-docstrings=yes
  62. ignore-imports=no
  63. min-similarity-lines=4
  64. [SPELLING]
  65. max-spelling-suggestions=4
  66. spelling-dict=
  67. spelling-ignore-words=
  68. spelling-private-dict-file=
  69. spelling-store-unknown-words=no
  70. [TYPECHECK]
  71. contextmanager-decorators=contextlib.contextmanager
  72. generated-members=
  73. ignore-mixin-members=yes
  74. ignore-on-opaque-inference=yes
  75. ignored-classes=optparse.Values,thread._local,_thread._local
  76. ignored-modules=
  77. missing-member-hint=yes
  78. missing-member-hint-distance=1
  79. missing-member-max-choices=1
  80. [VARIABLES]
  81. additional-builtins=
  82. allow-global-unused-variables=yes
  83. callbacks=cb_,
  84. _cb
  85. dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
  86. ignored-argument-names=_.*|^ignored_|^unused_
  87. init-import=no
  88. redefining-builtins-modules=six.moves,past.builtins,future.builtins
  89. [CLASSES]
  90. defining-attr-methods=__init__,__new__
  91. exclude-protected=_asdict,
  92. _fields,
  93. _replace,
  94. _source,
  95. _make
  96. valid-classmethod-first-arg=cls
  97. valid-metaclass-classmethod-first-arg=mcs
  98. [DESIGN]
  99. max-args=5
  100. max-attributes=7
  101. max-bool-expr=5
  102. max-branches=12
  103. max-locals=15
  104. max-parents=7
  105. max-public-methods=20
  106. max-returns=6
  107. max-statements=50
  108. min-public-methods=2
  109. [IMPORTS]
  110. allow-wildcard-with-all=no
  111. analyse-fallback-blocks=no
  112. deprecated-modules=optparse,tkinter.tix
  113. ext-import-graph=
  114. import-graph=
  115. int-import-graph=
  116. known-standard-library=
  117. known-third-party=enchant