Shared Memory Dictionary utilizing Posix IPC semaphores and shared memory segments and offering permanent disk storage of data if required.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

569 line
17KB

  1. [MASTER]
  2. # A comma-separated list of package or module names from where C extensions may
  3. # be loaded. Extensions are loading into the active Python interpreter and may
  4. # run arbitrary code.
  5. extension-pkg-whitelist=
  6. # Add files or directories to the blacklist. They should be base names, not
  7. # paths.
  8. ignore=CVS
  9. # Add files or directories matching the regex patterns to the blacklist. The
  10. # regex matches against base names, not paths.
  11. ignore-patterns=.tox,
  12. site-packages,
  13. _version.py
  14. # Python code to execute, usually for sys.path manipulation such as
  15. # pygtk.require().
  16. #init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))"
  17. # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
  18. # number of processors available to use.
  19. jobs=0
  20. # Control the amount of potential inferred values when inferring a single
  21. # object. This can help the performance when dealing with large functions or
  22. # complex, nested conditions.
  23. limit-inference-results=100
  24. # List of plugins (as comma separated values of python modules names) to load,
  25. # usually to register additional checkers.
  26. load-plugins=
  27. # Pickle collected data for later comparisons.
  28. persistent=yes
  29. # Specify a configuration file.
  30. #rcfile=
  31. # When enabled, pylint would attempt to guess common misconfiguration and emit
  32. # user-friendly hints instead of false-positive error messages.
  33. suggestion-mode=yes
  34. # Allow loading of arbitrary C extensions. Extensions are imported into the
  35. # active Python interpreter and may run arbitrary code.
  36. unsafe-load-any-extension=no
  37. [MESSAGES CONTROL]
  38. # Only show warnings with the listed confidence levels. Leave empty to show
  39. # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
  40. confidence=
  41. # Disable the message, report, category or checker with the given id(s). You
  42. # can either give multiple identifiers separated by comma (,) or put this
  43. # option multiple times (only on the command line, not in the configuration
  44. # file where it should appear only once). You can also use "--disable=all" to
  45. # disable everything first and then reenable specific checks. For example, if
  46. # you want to run only the similarities checker, you can use "--disable=all
  47. # --enable=similarities". If you want to run only the classes checker, but have
  48. # no Warning level messages displayed, use "--disable=all --enable=classes
  49. # --disable=W".
  50. disable=print-statement,
  51. parameter-unpacking,
  52. unpacking-in-except,
  53. old-raise-syntax,
  54. backtick,
  55. long-suffix,
  56. old-ne-operator,
  57. old-octal-literal,
  58. import-star-module-level,
  59. non-ascii-bytes-literal,
  60. raw-checker-failed,
  61. bad-inline-option,
  62. locally-disabled,
  63. locally-enabled,
  64. file-ignored,
  65. suppressed-message,
  66. useless-suppression,
  67. deprecated-pragma,
  68. use-symbolic-message-instead,
  69. apply-builtin,
  70. basestring-builtin,
  71. buffer-builtin,
  72. cmp-builtin,
  73. coerce-builtin,
  74. execfile-builtin,
  75. file-builtin,
  76. long-builtin,
  77. raw_input-builtin,
  78. reduce-builtin,
  79. standarderror-builtin,
  80. unicode-builtin,
  81. xrange-builtin,
  82. coerce-method,
  83. delslice-method,
  84. getslice-method,
  85. setslice-method,
  86. no-absolute-import,
  87. old-division,
  88. dict-iter-method,
  89. dict-view-method,
  90. next-method-called,
  91. metaclass-assignment,
  92. indexing-exception,
  93. raising-string,
  94. reload-builtin,
  95. oct-method,
  96. hex-method,
  97. nonzero-method,
  98. cmp-method,
  99. input-builtin,
  100. round-builtin,
  101. intern-builtin,
  102. unichr-builtin,
  103. map-builtin-not-iterating,
  104. zip-builtin-not-iterating,
  105. range-builtin-not-iterating,
  106. filter-builtin-not-iterating,
  107. using-cmp-argument,
  108. eq-without-hash,
  109. div-method,
  110. idiv-method,
  111. rdiv-method,
  112. exception-message-attribute,
  113. invalid-str-codec,
  114. sys-max-int,
  115. bad-python3-import,
  116. deprecated-string-function,
  117. deprecated-str-translate-call,
  118. deprecated-itertools-function,
  119. deprecated-types-field,
  120. next-method-defined,
  121. dict-items-not-iterating,
  122. dict-keys-not-iterating,
  123. dict-values-not-iterating,
  124. deprecated-operator-function,
  125. deprecated-urllib-function,
  126. xreadlines-attribute,
  127. deprecated-sys-function,
  128. exception-escape,
  129. comprehension-escape,
  130. missing-docstring,
  131. duplicate-code,
  132. import-error,
  133. old-style-class,
  134. ungrouped-imports,
  135. bad-continuation,
  136. useless-object-inheritance
  137. # Enable the message, report, category or checker with the given id(s). You can
  138. # either give multiple identifier separated by comma (,) or put this option
  139. # multiple time (only on the command line, not in the configuration file where
  140. # it should appear only once). See also the "--disable" option for examples.
  141. enable=c-extension-no-member
  142. [REPORTS]
  143. # Python expression which should return a note less than 10 (10 is the highest
  144. # note). You have access to the variables errors warning, statement which
  145. # respectively contain the number of errors / warnings messages and the total
  146. # number of statements analyzed. This is used by the global evaluation report
  147. # (RP0004).
  148. evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
  149. # Template used to display messages. This is a python new-style format string
  150. # used to format the message information. See doc for all details.
  151. msg-template='{path}:{obj}:{line}: [{msg_id}({symbol})] {msg}'
  152. # Set the output format. Available formats are text, parseable, colorized, json
  153. # and msvs (visual studio). You can also give a reporter class, e.g.
  154. # mypackage.mymodule.MyReporterClass.
  155. output-format=text
  156. # Tells whether to display a full report or only the messages.
  157. reports=no
  158. # Activate the evaluation score.
  159. score=yes
  160. [REFACTORING]
  161. # Maximum number of nested blocks for function / method body
  162. max-nested-blocks=5
  163. # Complete name of functions that never returns. When checking for
  164. # inconsistent-return-statements if a never returning function is called then
  165. # it will be considered as an explicit return statement and no message will be
  166. # printed.
  167. never-returning-functions=sys.exit
  168. [BASIC]
  169. # Naming style matching correct argument names.
  170. argument-naming-style=snake_case
  171. # Regular expression matching correct argument names. Overrides argument-
  172. # naming-style.
  173. #argument-rgx=
  174. # Naming style matching correct attribute names.
  175. attr-naming-style=snake_case
  176. # Regular expression matching correct attribute names. Overrides attr-naming-
  177. # style.
  178. #attr-rgx=
  179. # Bad variable names which should always be refused, separated by a comma.
  180. bad-names=foo,
  181. bar,
  182. baz,
  183. toto,
  184. tutu,
  185. tata
  186. # Naming style matching correct class attribute names.
  187. class-attribute-naming-style=any
  188. # Regular expression matching correct class attribute names. Overrides class-
  189. # attribute-naming-style.
  190. #class-attribute-rgx=
  191. # Naming style matching correct class names.
  192. class-naming-style=PascalCase
  193. # Regular expression matching correct class names. Overrides class-naming-
  194. # style.
  195. #class-rgx=
  196. # Naming style matching correct constant names.
  197. const-naming-style=UPPER_CASE
  198. # Regular expression matching correct constant names. Overrides const-naming-
  199. # style.
  200. #const-rgx=
  201. # Minimum line length for functions/classes that require docstrings, shorter
  202. # ones are exempt.
  203. docstring-min-length=-1
  204. # Naming style matching correct function names.
  205. function-naming-style=snake_case
  206. # Regular expression matching correct function names. Overrides function-
  207. # naming-style.
  208. #function-rgx=
  209. # Good variable names which should always be accepted, separated by a comma.
  210. good-names=e,
  211. i,
  212. j,
  213. k,
  214. ex,
  215. Run,
  216. _
  217. # Include a hint for the correct naming format with invalid-name.
  218. include-naming-hint=no
  219. # Naming style matching correct inline iteration names.
  220. inlinevar-naming-style=any
  221. # Regular expression matching correct inline iteration names. Overrides
  222. # inlinevar-naming-style.
  223. #inlinevar-rgx=
  224. # Naming style matching correct method names.
  225. method-naming-style=snake_case
  226. # Regular expression matching correct method names. Overrides method-naming-
  227. # style.
  228. #method-rgx=
  229. # Naming style matching correct module names.
  230. module-naming-style=snake_case
  231. # Regular expression matching correct module names. Overrides module-naming-
  232. # style.
  233. #module-rgx=
  234. # Colon-delimited sets of names that determine each other's naming style when
  235. # the name regexes allow several styles.
  236. name-group=
  237. # Regular expression which should only match function or class names that do
  238. # not require a docstring.
  239. no-docstring-rgx=^_
  240. # List of decorators that produce properties, such as abc.abstractproperty. Add
  241. # to this list to register other decorators that produce valid properties.
  242. # These decorators are taken in consideration only for invalid-name.
  243. property-classes=abc.abstractproperty
  244. # Naming style matching correct variable names.
  245. variable-naming-style=snake_case
  246. # Regular expression matching correct variable names. Overrides variable-
  247. # naming-style.
  248. #variable-rgx=
  249. [FORMAT]
  250. # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
  251. expected-line-ending-format=
  252. # Regexp for a line that is allowed to be longer than the limit.
  253. ignore-long-lines=^\s*(# )?<?https?://\S+>?$
  254. # Number of spaces of indent required inside a hanging or continued line.
  255. indent-after-paren=4
  256. # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
  257. # tab).
  258. indent-string=' '
  259. # Maximum number of characters on a single line.
  260. max-line-length=100
  261. # Maximum number of lines in a module.
  262. max-module-lines=3000
  263. # List of optional constructs for which whitespace checking is disabled. `dict-
  264. # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
  265. # `trailing-comma` allows a space between comma and closing bracket: (a, ).
  266. # `empty-line` allows space-only lines.
  267. no-space-check=trailing-comma,
  268. dict-separator
  269. # Allow the body of a class to be on the same line as the declaration if body
  270. # contains single statement.
  271. single-line-class-stmt=no
  272. # Allow the body of an if to be on the same line as the test if there is no
  273. # else.
  274. single-line-if-stmt=no
  275. [LOGGING]
  276. # Logging modules to check that the string format arguments are in logging
  277. # function parameter format.
  278. logging-modules=logging
  279. [MISCELLANEOUS]
  280. # List of note tags to take in consideration, separated by a comma.
  281. notes=FIXME,
  282. XXX,
  283. TODO
  284. [SIMILARITIES]
  285. # Ignore comments when computing similarities.
  286. ignore-comments=yes
  287. # Ignore docstrings when computing similarities.
  288. ignore-docstrings=yes
  289. # Ignore imports when computing similarities.
  290. ignore-imports=no
  291. # Minimum lines number of a similarity.
  292. min-similarity-lines=4
  293. [SPELLING]
  294. # Limits count of emitted suggestions for spelling mistakes.
  295. max-spelling-suggestions=4
  296. # Spelling dictionary name. Available dictionaries: none. To make it working
  297. # install python-enchant package..
  298. spelling-dict=
  299. # List of comma separated words that should not be checked.
  300. spelling-ignore-words=
  301. # A path to a file that contains private dictionary; one word per line.
  302. spelling-private-dict-file=
  303. # Tells whether to store unknown words to indicated private dictionary in
  304. # --spelling-private-dict-file option instead of raising a message.
  305. spelling-store-unknown-words=no
  306. [TYPECHECK]
  307. # List of decorators that produce context managers, such as
  308. # contextlib.contextmanager. Add to this list to register other decorators that
  309. # produce valid context managers.
  310. contextmanager-decorators=contextlib.contextmanager
  311. # List of members which are set dynamically and missed by pylint inference
  312. # system, and so shouldn't trigger E1101 when accessed. Python regular
  313. # expressions are accepted.
  314. generated-members=
  315. # Tells whether missing members accessed in mixin class should be ignored. A
  316. # mixin class is detected if its name ends with "mixin" (case insensitive).
  317. ignore-mixin-members=yes
  318. # Tells whether to warn about missing members when the owner of the attribute
  319. # is inferred to be None.
  320. ignore-none=yes
  321. # This flag controls whether pylint should warn about no-member and similar
  322. # checks whenever an opaque object is returned when inferring. The inference
  323. # can return multiple potential results while evaluating a Python object, but
  324. # some branches might not be evaluated, which results in partial inference. In
  325. # that case, it might be useful to still emit no-member and other checks for
  326. # the rest of the inferred objects.
  327. ignore-on-opaque-inference=yes
  328. # List of class names for which member attributes should not be checked (useful
  329. # for classes with dynamically set attributes). This supports the use of
  330. # qualified names.
  331. ignored-classes=optparse.Values,thread._local,_thread._local
  332. # List of module names for which member attributes should not be checked
  333. # (useful for modules/projects where namespaces are manipulated during runtime
  334. # and thus existing member attributes cannot be deduced by static analysis. It
  335. # supports qualified module names, as well as Unix pattern matching.
  336. ignored-modules=
  337. # Show a hint with possible names when a member name was not found. The aspect
  338. # of finding the hint is based on edit distance.
  339. missing-member-hint=yes
  340. # The minimum edit distance a name should have in order to be considered a
  341. # similar match for a missing member name.
  342. missing-member-hint-distance=1
  343. # The total number of similar names that should be taken in consideration when
  344. # showing a hint for a missing member.
  345. missing-member-max-choices=1
  346. [VARIABLES]
  347. # List of additional names supposed to be defined in builtins. Remember that
  348. # you should avoid to define new builtins when possible.
  349. additional-builtins=
  350. # Tells whether unused global variables should be treated as a violation.
  351. allow-global-unused-variables=yes
  352. # List of strings which can identify a callback function by name. A callback
  353. # name must start or end with one of those strings.
  354. callbacks=cb_,
  355. _cb
  356. # A regular expression matching the name of dummy variables (i.e. expected to
  357. # not be used).
  358. dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
  359. # Argument names that match this expression will be ignored. Default to name
  360. # with leading underscore.
  361. ignored-argument-names=_.*|^ignored_|^unused_
  362. # Tells whether we should check for unused import in __init__ files.
  363. init-import=no
  364. # List of qualified module names which can have objects that can redefine
  365. # builtins.
  366. redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
  367. [CLASSES]
  368. # List of method names used to declare (i.e. assign) instance attributes.
  369. defining-attr-methods=__init__,
  370. __new__,
  371. setUp
  372. # List of member names, which should be excluded from the protected access
  373. # warning.
  374. exclude-protected=_asdict,
  375. _fields,
  376. _replace,
  377. _source,
  378. _make
  379. # List of valid names for the first argument in a class method.
  380. valid-classmethod-first-arg=cls
  381. # List of valid names for the first argument in a metaclass class method.
  382. valid-metaclass-classmethod-first-arg=cls
  383. [DESIGN]
  384. # Maximum number of arguments for function / method.
  385. max-args=15
  386. # Maximum number of attributes for a class (see R0902).
  387. max-attributes=20
  388. # Maximum number of boolean expressions in an if statement.
  389. max-bool-expr=7
  390. # Maximum number of branch for function / method body.
  391. max-branches=12
  392. # Maximum number of locals for function / method body.
  393. max-locals=15
  394. # Maximum number of parents for a class (see R0901).
  395. max-parents=7
  396. # Maximum number of public methods for a class (see R0904).
  397. max-public-methods=20
  398. # Maximum number of return / yield for function / method body.
  399. max-returns=10
  400. # Maximum number of statements in function / method body.
  401. max-statements=50
  402. # Minimum number of public methods for a class (see R0903).
  403. min-public-methods=2
  404. [IMPORTS]
  405. # Allow wildcard imports from modules that define __all__.
  406. allow-wildcard-with-all=no
  407. # Analyse import fallback blocks. This can be used to support both Python 2 and
  408. # 3 compatible code, which means that the block might have code that exists
  409. # only in one or another interpreter, leading to false positives when analysed.
  410. analyse-fallback-blocks=no
  411. # Deprecated modules which should not be used, separated by a comma.
  412. deprecated-modules=optparse,tkinter.tix
  413. # Create a graph of external dependencies in the given file (report RP0402 must
  414. # not be disabled).
  415. ext-import-graph=
  416. # Create a graph of every (i.e. internal and external) dependencies in the
  417. # given file (report RP0402 must not be disabled).
  418. import-graph=
  419. # Create a graph of internal dependencies in the given file (report RP0402 must
  420. # not be disabled).
  421. int-import-graph=
  422. # Force import order to recognize a module as part of the standard
  423. # compatibility libraries.
  424. known-standard-library=
  425. # Force import order to recognize a module as part of a third party library.
  426. known-third-party=enchant
  427. [EXCEPTIONS]
  428. # Exceptions that will emit a warning when being caught. Defaults to
  429. # "Exception".
  430. overgeneral-exceptions=Exception