docp 0.1.0b1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. docp-0.1.0b1/.gitignore +2 -0
  2. docp-0.1.0b1/.pylintrc +637 -0
  3. docp-0.1.0b1/LICENSE +622 -0
  4. docp-0.1.0b1/MANIFEST.in +17 -0
  5. docp-0.1.0b1/PKG-INFO +55 -0
  6. docp-0.1.0b1/README.md +22 -0
  7. docp-0.1.0b1/build.sh +29 -0
  8. docp-0.1.0b1/docp/__init__.py +31 -0
  9. docp-0.1.0b1/docp/_version.py +1 -0
  10. docp-0.1.0b1/docp/dbs/__init__.py +0 -0
  11. docp-0.1.0b1/docp/dbs/chroma.py +184 -0
  12. docp-0.1.0b1/docp/loaders/__init__.py +0 -0
  13. docp-0.1.0b1/docp/loaders/_chromabaseloader.py +362 -0
  14. docp-0.1.0b1/docp/loaders/chroma.py +166 -0
  15. docp-0.1.0b1/docp/objects/__init__.py +0 -0
  16. docp-0.1.0b1/docp/objects/_docbaseobject.py +76 -0
  17. docp-0.1.0b1/docp/objects/_pageobject.py +126 -0
  18. docp-0.1.0b1/docp/objects/_tableobject.py +0 -0
  19. docp-0.1.0b1/docp/objects/_textobject.py +0 -0
  20. docp-0.1.0b1/docp/objects/pdfobject.py +39 -0
  21. docp-0.1.0b1/docp/parsers/__init__.py +0 -0
  22. docp-0.1.0b1/docp/parsers/_pdfbaseparser.py +210 -0
  23. docp-0.1.0b1/docp/parsers/_pdftableparser.py +273 -0
  24. docp-0.1.0b1/docp/parsers/_pdftextparser.py +253 -0
  25. docp-0.1.0b1/docp/parsers/pdfparser.py +62 -0
  26. docp-0.1.0b1/docp.egg-info/PKG-INFO +55 -0
  27. docp-0.1.0b1/docp.egg-info/SOURCES.txt +46 -0
  28. docp-0.1.0b1/docp.egg-info/dependency_links.txt +1 -0
  29. docp-0.1.0b1/docp.egg-info/requires.txt +4 -0
  30. docp-0.1.0b1/docp.egg-info/top_level.txt +1 -0
  31. docp-0.1.0b1/pylintr/generate_rcfile.sh +27 -0
  32. docp-0.1.0b1/pylintr/pylintr.sh +119 -0
  33. docp-0.1.0b1/pylintr/results/dbs_chroma.plr +97 -0
  34. docp-0.1.0b1/pylintr/results/loaders__chromabaseloader.plr +103 -0
  35. docp-0.1.0b1/pylintr/results/loaders_chroma.plr +85 -0
  36. docp-0.1.0b1/pylintr/results/objects__docbaseobject.plr +85 -0
  37. docp-0.1.0b1/pylintr/results/objects__pageobject.plr +85 -0
  38. docp-0.1.0b1/pylintr/results/objects__tableobject.plr +81 -0
  39. docp-0.1.0b1/pylintr/results/objects__textobject.plr +81 -0
  40. docp-0.1.0b1/pylintr/results/objects_pdfobject.plr +85 -0
  41. docp-0.1.0b1/pylintr/results/parsers__pdfbaseparser.plr +94 -0
  42. docp-0.1.0b1/pylintr/results/parsers__pdftableparser.plr +93 -0
  43. docp-0.1.0b1/pylintr/results/parsers__pdftextparser.plr +93 -0
  44. docp-0.1.0b1/pylintr/results/parsers_pdfparser.plr +85 -0
  45. docp-0.1.0b1/pylintr/results/summary.plr +16 -0
  46. docp-0.1.0b1/pyproject.toml +56 -0
  47. docp-0.1.0b1/requirements.txt +11 -0
  48. docp-0.1.0b1/setup.cfg +4 -0
@@ -0,0 +1,2 @@
1
+ *__pycache__*
2
+ *.pyc
docp-0.1.0b1/.pylintrc ADDED
@@ -0,0 +1,637 @@
1
+ [MAIN]
2
+
3
+ # Analyse import fallback blocks. This can be used to support both Python 2 and
4
+ # 3 compatible code, which means that the block might have code that exists
5
+ # only in one or another interpreter, leading to false positives when analysed.
6
+ analyse-fallback-blocks=no
7
+
8
+ # Clear in-memory caches upon conclusion of linting. Useful if running pylint
9
+ # in a server-like mode.
10
+ clear-cache-post-run=no
11
+
12
+ # Load and enable all available extensions. Use --list-extensions to see a list
13
+ # all available extensions.
14
+ #enable-all-extensions=
15
+
16
+ # In error mode, messages with a category besides ERROR or FATAL are
17
+ # suppressed, and no reports are done by default. Error mode is compatible with
18
+ # disabling specific errors.
19
+ #errors-only=
20
+
21
+ # Always return a 0 (non-error) status code, even if lint errors are found.
22
+ # This is primarily useful in continuous integration scripts.
23
+ #exit-zero=
24
+
25
+ # A comma-separated list of package or module names from where C extensions may
26
+ # be loaded. Extensions are loading into the active Python interpreter and may
27
+ # run arbitrary code.
28
+ extension-pkg-allow-list=
29
+
30
+ # A comma-separated list of package or module names from where C extensions may
31
+ # be loaded. Extensions are loading into the active Python interpreter and may
32
+ # run arbitrary code. (This is an alternative name to extension-pkg-allow-list
33
+ # for backward compatibility.)
34
+ extension-pkg-whitelist=
35
+
36
+ # Return non-zero exit code if any of these messages/categories are detected,
37
+ # even if score is above --fail-under value. Syntax same as enable. Messages
38
+ # specified are enabled, while categories only check already-enabled messages.
39
+ fail-on=
40
+
41
+ # Specify a score threshold under which the program will exit with error.
42
+ fail-under=10
43
+
44
+ # Interpret the stdin as a python script, whose filename needs to be passed as
45
+ # the module_or_package argument.
46
+ #from-stdin=
47
+
48
+ # Files or directories to be skipped. They should be base names, not paths.
49
+ ignore=CVS
50
+
51
+ # Add files or directories matching the regular expressions patterns to the
52
+ # ignore-list. The regex matches against paths and can be in Posix or Windows
53
+ # format. Because '\\' represents the directory delimiter on Windows systems,
54
+ # it can't be used as an escape character.
55
+ ignore-paths=
56
+
57
+ # Files or directories matching the regular expression patterns are skipped.
58
+ # The regex matches against base names, not paths. The default value ignores
59
+ # Emacs file locks
60
+ ignore-patterns=^\.#
61
+
62
+ # List of module names for which member attributes should not be checked
63
+ # (useful for modules/projects where namespaces are manipulated during runtime
64
+ # and thus existing member attributes cannot be deduced by static analysis). It
65
+ # supports qualified module names, as well as Unix pattern matching.
66
+ ignored-modules=
67
+
68
+ # Python code to execute, usually for sys.path manipulation such as
69
+ # pygtk.require().
70
+ #init-hook=
71
+
72
+ # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
73
+ # number of processors available to use, and will cap the count on Windows to
74
+ # avoid hangs.
75
+ jobs=1
76
+
77
+ # Control the amount of potential inferred values when inferring a single
78
+ # object. This can help the performance when dealing with large functions or
79
+ # complex, nested conditions.
80
+ limit-inference-results=100
81
+
82
+ # List of plugins (as comma separated values of python module names) to load,
83
+ # usually to register additional checkers.
84
+ load-plugins=
85
+
86
+ # Pickle collected data for later comparisons.
87
+ persistent=yes
88
+
89
+ # Minimum Python version to use for version dependent checks. Will default to
90
+ # the version used to run pylint.
91
+ py-version=3.11
92
+
93
+ # Discover python modules and packages in the file system subtree.
94
+ recursive=no
95
+
96
+ # Add paths to the list of the source roots. Supports globbing patterns. The
97
+ # source root is an absolute path or a path relative to the current working
98
+ # directory used to determine a package namespace for modules located under the
99
+ # source root.
100
+ source-roots=
101
+
102
+ # When enabled, pylint would attempt to guess common misconfiguration and emit
103
+ # user-friendly hints instead of false-positive error messages.
104
+ suggestion-mode=yes
105
+
106
+ # Allow loading of arbitrary C extensions. Extensions are imported into the
107
+ # active Python interpreter and may run arbitrary code.
108
+ unsafe-load-any-extension=no
109
+
110
+ # In verbose mode, extra non-checker-related info will be displayed.
111
+ #verbose=
112
+
113
+
114
+ [BASIC]
115
+
116
+ # Naming style matching correct argument names.
117
+ argument-naming-style=snake_case
118
+
119
+ # Regular expression matching correct argument names. Overrides argument-
120
+ # naming-style. If left empty, argument names will be checked with the set
121
+ # naming style.
122
+ argument-rgx=^[a-z_][a-z0-9_]{0,30}$
123
+
124
+ # Naming style matching correct attribute names.
125
+ attr-naming-style=snake_case
126
+
127
+ # Regular expression matching correct attribute names. Overrides attr-naming-
128
+ # style. If left empty, attribute names will be checked with the set naming
129
+ # style.
130
+ #attr-rgx=
131
+
132
+ # Bad variable names which should always be refused, separated by a comma.
133
+ bad-names=foo,
134
+ bar,
135
+ baz,
136
+ toto,
137
+ tutu,
138
+ tata
139
+
140
+ # Bad variable names regexes, separated by a comma. If names match any regex,
141
+ # they will always be refused
142
+ bad-names-rgxs=
143
+
144
+ # Naming style matching correct class attribute names.
145
+ class-attribute-naming-style=any
146
+
147
+ # Regular expression matching correct class attribute names. Overrides class-
148
+ # attribute-naming-style. If left empty, class attribute names will be checked
149
+ # with the set naming style.
150
+ #class-attribute-rgx=
151
+
152
+ # Naming style matching correct class constant names.
153
+ class-const-naming-style=UPPER_CASE
154
+
155
+ # Regular expression matching correct class constant names. Overrides class-
156
+ # const-naming-style. If left empty, class constant names will be checked with
157
+ # the set naming style.
158
+ #class-const-rgx=
159
+
160
+ # Naming style matching correct class names.
161
+ class-naming-style=PascalCase
162
+
163
+ # Regular expression matching correct class names. Overrides class-naming-
164
+ # style. If left empty, class names will be checked with the set naming style.
165
+ #class-rgx=
166
+
167
+ # Naming style matching correct constant names.
168
+ const-naming-style=UPPER_CASE
169
+
170
+ # Regular expression matching correct constant names. Overrides const-naming-
171
+ # style. If left empty, constant names will be checked with the set naming
172
+ # style.
173
+ #const-rgx=
174
+
175
+ # Minimum line length for functions/classes that require docstrings, shorter
176
+ # ones are exempt.
177
+ docstring-min-length=-1
178
+
179
+ # Naming style matching correct function names.
180
+ function-naming-style=snake_case
181
+
182
+ # Regular expression matching correct function names. Overrides function-
183
+ # naming-style. If left empty, function names will be checked with the set
184
+ # naming style.
185
+ #function-rgx=
186
+
187
+ # Good variable names which should always be accepted, separated by a comma.
188
+ good-names=
189
+
190
+ # Good variable names regexes, separated by a comma. If names match any regex,
191
+ # they will always be accepted
192
+ good-names-rgxs=
193
+
194
+ # Include a hint for the correct naming format with invalid-name.
195
+ include-naming-hint=no
196
+
197
+ # Naming style matching correct inline iteration names.
198
+ inlinevar-naming-style=any
199
+
200
+ # Regular expression matching correct inline iteration names. Overrides
201
+ # inlinevar-naming-style. If left empty, inline iteration names will be checked
202
+ # with the set naming style.
203
+ #inlinevar-rgx=
204
+
205
+ # Naming style matching correct method names.
206
+ method-naming-style=snake_case
207
+
208
+ # Regular expression matching correct method names. Overrides method-naming-
209
+ # style. If left empty, method names will be checked with the set naming style.
210
+ #method-rgx=
211
+
212
+ # Naming style matching correct module names.
213
+ module-naming-style=snake_case
214
+
215
+ # Regular expression matching correct module names. Overrides module-naming-
216
+ # style. If left empty, module names will be checked with the set naming style.
217
+ #module-rgx=
218
+
219
+ # Colon-delimited sets of names that determine each other's naming style when
220
+ # the name regexes allow several styles.
221
+ name-group=
222
+
223
+ # Regular expression which should only match function or class names that do
224
+ # not require a docstring.
225
+ no-docstring-rgx=^_
226
+
227
+ # List of decorators that produce properties, such as abc.abstractproperty. Add
228
+ # to this list to register other decorators that produce valid properties.
229
+ # These decorators are taken in consideration only for invalid-name.
230
+ property-classes=abc.abstractproperty
231
+
232
+ # Regular expression matching correct type alias names. If left empty, type
233
+ # alias names will be checked with the set naming style.
234
+ #typealias-rgx=
235
+
236
+ # Regular expression matching correct type variable names. If left empty, type
237
+ # variable names will be checked with the set naming style.
238
+ #typevar-rgx=
239
+
240
+ # Naming style matching correct variable names.
241
+ variable-naming-style=snake_case
242
+
243
+ # Regular expression matching correct variable names. Overrides variable-
244
+ # naming-style. If left empty, variable names will be checked with the set
245
+ # naming style.
246
+ variable-rgx=^[a-z_][a-z0-9_]{0,30}$
247
+
248
+
249
+ [CLASSES]
250
+
251
+ # Warn about protected attribute access inside special methods
252
+ check-protected-access-in-special-methods=no
253
+
254
+ # List of method names used to declare (i.e. assign) instance attributes.
255
+ defining-attr-methods=__init__,
256
+ __new__,
257
+ setUp,
258
+ asyncSetUp,
259
+ __post_init__
260
+
261
+ # List of member names, which should be excluded from the protected access
262
+ # warning.
263
+ exclude-protected=_asdict,_fields,_replace,_source,_make,os._exit
264
+
265
+ # List of valid names for the first argument in a class method.
266
+ valid-classmethod-first-arg=cls
267
+
268
+ # List of valid names for the first argument in a metaclass class method.
269
+ valid-metaclass-classmethod-first-arg=mcs
270
+
271
+
272
+ [DESIGN]
273
+
274
+ # List of regular expressions of class ancestor names to ignore when counting
275
+ # public methods (see R0903)
276
+ exclude-too-few-public-methods=
277
+
278
+ # List of qualified class names to ignore when counting class parents (see
279
+ # R0901)
280
+ ignored-parents=
281
+
282
+ # Maximum number of arguments for function / method.
283
+ max-args=5
284
+
285
+ # Maximum number of attributes for a class (see R0902).
286
+ max-attributes=7
287
+
288
+ # Maximum number of boolean expressions in an if statement (see R0916).
289
+ max-bool-expr=5
290
+
291
+ # Maximum number of branch for function / method body.
292
+ max-branches=12
293
+
294
+ # Maximum number of locals for function / method body.
295
+ max-locals=15
296
+
297
+ # Maximum number of parents for a class (see R0901).
298
+ max-parents=7
299
+
300
+ # Maximum number of public methods for a class (see R0904).
301
+ max-public-methods=20
302
+
303
+ # Maximum number of return / yield for function / method body.
304
+ max-returns=6
305
+
306
+ # Maximum number of statements in function / method body.
307
+ max-statements=50
308
+
309
+ # Minimum number of public methods for a class (see R0903).
310
+ min-public-methods=2
311
+
312
+
313
+ [EXCEPTIONS]
314
+
315
+ # Exceptions that will emit a warning when caught.
316
+ overgeneral-exceptions=builtins.BaseException,builtins.Exception
317
+
318
+
319
+ [FORMAT]
320
+
321
+ # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
322
+ expected-line-ending-format=
323
+
324
+ # Regexp for a line that is allowed to be longer than the limit.
325
+ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
326
+
327
+ # Number of spaces of indent required inside a hanging or continued line.
328
+ indent-after-paren=4
329
+
330
+ # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
331
+ # tab).
332
+ indent-string=' '
333
+
334
+ # Maximum number of characters on a single line.
335
+ max-line-length=100
336
+
337
+ # Maximum number of lines in a module.
338
+ max-module-lines=1000
339
+
340
+ # Allow the body of a class to be on the same line as the declaration if body
341
+ # contains single statement.
342
+ single-line-class-stmt=no
343
+
344
+ # Allow the body of an if to be on the same line as the test if there is no
345
+ # else.
346
+ single-line-if-stmt=no
347
+
348
+
349
+ [IMPORTS]
350
+
351
+ # List of modules that can be imported at any level, not just the top level
352
+ # one.
353
+ allow-any-import-level=
354
+
355
+ # Allow explicit reexports by alias from a package __init__.
356
+ allow-reexport-from-package=no
357
+
358
+ # Allow wildcard imports from modules that define __all__.
359
+ allow-wildcard-with-all=no
360
+
361
+ # Deprecated modules which should not be used, separated by a comma.
362
+ deprecated-modules=
363
+
364
+ # Output a graph (.gv or any supported image format) of external dependencies
365
+ # to the given file (report RP0402 must not be disabled).
366
+ ext-import-graph=
367
+
368
+ # Output a graph (.gv or any supported image format) of all (i.e. internal and
369
+ # external) dependencies to the given file (report RP0402 must not be
370
+ # disabled).
371
+ import-graph=
372
+
373
+ # Output a graph (.gv or any supported image format) of internal dependencies
374
+ # to the given file (report RP0402 must not be disabled).
375
+ int-import-graph=
376
+
377
+ # Force import order to recognize a module as part of the standard
378
+ # compatibility libraries.
379
+ known-standard-library=
380
+
381
+ # Force import order to recognize a module as part of a third party library.
382
+ known-third-party=enchant
383
+
384
+ # Couples of modules and preferred modules, separated by a comma.
385
+ preferred-modules=
386
+
387
+
388
+ [LOGGING]
389
+
390
+ # The type of string formatting that logging methods do. `old` means using %
391
+ # formatting, `new` is for `{}` formatting.
392
+ logging-format-style=old
393
+
394
+ # Logging modules to check that the string format arguments are in logging
395
+ # function parameter format.
396
+ logging-modules=logging
397
+
398
+
399
+ [MESSAGES CONTROL]
400
+
401
+ # Only show warnings with the listed confidence levels. Leave empty to show
402
+ # all. Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE,
403
+ # UNDEFINED.
404
+ confidence=HIGH,
405
+ CONTROL_FLOW,
406
+ INFERENCE,
407
+ INFERENCE_FAILURE,
408
+ UNDEFINED
409
+
410
+ # Disable the message, report, category or checker with the given id(s). You
411
+ # can either give multiple identifiers separated by comma (,) or put this
412
+ # option multiple times (only on the command line, not in the configuration
413
+ # file where it should appear only once). You can also use "--disable=all" to
414
+ # disable everything first and then re-enable specific checks. For example, if
415
+ # you want to run only the similarities checker, you can use "--disable=all
416
+ # --enable=similarities". If you want to run only the classes checker, but have
417
+ # no Warning level messages displayed, use "--disable=all --enable=classes
418
+ # --disable=W".
419
+ disable=raw-checker-failed,
420
+ bad-inline-option,
421
+ locally-disabled,
422
+ file-ignored,
423
+ suppressed-message,
424
+ useless-suppression,
425
+ deprecated-pragma,
426
+ use-symbolic-message-instead,
427
+ fixme,
428
+ broad-exception-caught,
429
+ too-few-public-methods,
430
+ too-many-arguments,
431
+ too-many-instance-attributes
432
+
433
+ # Enable the message, report, category or checker with the given id(s). You can
434
+ # either give multiple identifier separated by comma (,) or put this option
435
+ # multiple time (only on the command line, not in the configuration file where
436
+ # it should appear only once). See also the "--disable" option for examples.
437
+ enable=
438
+
439
+
440
+ [METHOD_ARGS]
441
+
442
+ # List of qualified names (i.e., library.method) which require a timeout
443
+ # parameter e.g. 'requests.api.get,requests.api.post'
444
+ timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.api.options,requests.api.patch,requests.api.post,requests.api.put,requests.api.request
445
+
446
+
447
+ [MISCELLANEOUS]
448
+
449
+ # List of note tags to take in consideration, separated by a comma.
450
+ notes=FIXME,
451
+ XXX,
452
+ TODO
453
+
454
+ # Regular expression of note tags to take in consideration.
455
+ notes-rgx=
456
+
457
+
458
+ [REFACTORING]
459
+
460
+ # Maximum number of nested blocks for function / method body
461
+ max-nested-blocks=5
462
+
463
+ # Complete name of functions that never returns. When checking for
464
+ # inconsistent-return-statements if a never returning function is called then
465
+ # it will be considered as an explicit return statement and no message will be
466
+ # printed.
467
+ never-returning-functions=sys.exit,argparse.parse_error
468
+
469
+ # Let 'consider-using-join' be raised when the separator to join on would be
470
+ # non-empty (resulting in expected fixes of the type: ``"- " + " -
471
+ # ".join(items)``)
472
+ #suggest-join-with-non-empty-separator=yes
473
+
474
+
475
+ [REPORTS]
476
+
477
+ # Python expression which should return a score less than or equal to 10. You
478
+ # have access to the variables 'fatal', 'error', 'warning', 'refactor',
479
+ # 'convention', and 'info' which contain the number of messages in each
480
+ # category, as well as 'statement' which is the total number of statements
481
+ # analyzed. This score is used by the global evaluation report (RP0004).
482
+ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10))
483
+
484
+ # Template used to display messages. This is a python new-style format string
485
+ # used to format the message information. See doc for all details.
486
+ msg-template=
487
+
488
+ # Set the output format. Available formats are: text, parseable, colorized,
489
+ # json2 (improved json format), json (old json format) and msvs (visual
490
+ # studio). You can also give a reporter class, e.g.
491
+ # mypackage.mymodule.MyReporterClass.
492
+ #output-format=
493
+
494
+ # Tells whether to display a full report or only the messages.
495
+ reports=yes
496
+
497
+ # Activate the evaluation score.
498
+ score=yes
499
+
500
+
501
+ [SIMILARITIES]
502
+
503
+ # Comments are removed from the similarity computation
504
+ ignore-comments=yes
505
+
506
+ # Docstrings are removed from the similarity computation
507
+ ignore-docstrings=yes
508
+
509
+ # Imports are removed from the similarity computation
510
+ ignore-imports=yes
511
+
512
+ # Signatures are removed from the similarity computation
513
+ ignore-signatures=yes
514
+
515
+ # Minimum lines number of a similarity.
516
+ min-similarity-lines=4
517
+
518
+
519
+ [SPELLING]
520
+
521
+ # Limits count of emitted suggestions for spelling mistakes.
522
+ max-spelling-suggestions=4
523
+
524
+ # Spelling dictionary name. No available dictionaries : You need to install
525
+ # both the python package and the system dependency for enchant to work.
526
+ spelling-dict=
527
+
528
+ # List of comma separated words that should be considered directives if they
529
+ # appear at the beginning of a comment and should not be checked.
530
+ spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
531
+
532
+ # List of comma separated words that should not be checked.
533
+ spelling-ignore-words=
534
+
535
+ # A path to a file that contains the private dictionary; one word per line.
536
+ spelling-private-dict-file=
537
+
538
+ # Tells whether to store unknown words to the private dictionary (see the
539
+ # --spelling-private-dict-file option) instead of raising a message.
540
+ spelling-store-unknown-words=no
541
+
542
+
543
+ [STRING]
544
+
545
+ # This flag controls whether inconsistent-quotes generates a warning when the
546
+ # character used as a quote delimiter is used inconsistently within a module.
547
+ check-quote-consistency=no
548
+
549
+ # This flag controls whether the implicit-str-concat should generate a warning
550
+ # on implicit string concatenation in sequences defined over several lines.
551
+ check-str-concat-over-line-jumps=no
552
+
553
+
554
+ [TYPECHECK]
555
+
556
+ # List of decorators that produce context managers, such as
557
+ # contextlib.contextmanager. Add to this list to register other decorators that
558
+ # produce valid context managers.
559
+ contextmanager-decorators=contextlib.contextmanager
560
+
561
+ # List of members which are set dynamically and missed by pylint inference
562
+ # system, and so shouldn't trigger E1101 when accessed. Python regular
563
+ # expressions are accepted.
564
+ generated-members=
565
+
566
+ # Tells whether to warn about missing members when the owner of the attribute
567
+ # is inferred to be None.
568
+ ignore-none=yes
569
+
570
+ # This flag controls whether pylint should warn about no-member and similar
571
+ # checks whenever an opaque object is returned when inferring. The inference
572
+ # can return multiple potential results while evaluating a Python object, but
573
+ # some branches might not be evaluated, which results in partial inference. In
574
+ # that case, it might be useful to still emit no-member and other checks for
575
+ # the rest of the inferred objects.
576
+ ignore-on-opaque-inference=yes
577
+
578
+ # List of symbolic message names to ignore for Mixin members.
579
+ ignored-checks-for-mixins=no-member,
580
+ not-async-context-manager,
581
+ not-context-manager,
582
+ attribute-defined-outside-init
583
+
584
+ # List of class names for which member attributes should not be checked (useful
585
+ # for classes with dynamically set attributes). This supports the use of
586
+ # qualified names.
587
+ ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace
588
+
589
+ # Show a hint with possible names when a member name was not found. The aspect
590
+ # of finding the hint is based on edit distance.
591
+ missing-member-hint=yes
592
+
593
+ # The minimum edit distance a name should have in order to be considered a
594
+ # similar match for a missing member name.
595
+ missing-member-hint-distance=1
596
+
597
+ # The total number of similar names that should be taken in consideration when
598
+ # showing a hint for a missing member.
599
+ missing-member-max-choices=1
600
+
601
+ # Regex pattern to define which classes are considered mixins.
602
+ mixin-class-rgx=.*[Mm]ixin
603
+
604
+ # List of decorators that change the signature of a decorated function.
605
+ signature-mutators=
606
+
607
+
608
+ [VARIABLES]
609
+
610
+ # List of additional names supposed to be defined in builtins. Remember that
611
+ # you should avoid defining new builtins when possible.
612
+ additional-builtins=
613
+
614
+ # Tells whether unused global variables should be treated as a violation.
615
+ allow-global-unused-variables=yes
616
+
617
+ # List of names allowed to shadow builtins
618
+ allowed-redefined-builtins=
619
+
620
+ # List of strings which can identify a callback function by name. A callback
621
+ # name must start or end with one of those strings.
622
+ callbacks=cb_,
623
+ _cb
624
+
625
+ # A regular expression matching the name of dummy variables (i.e. expected to
626
+ # not be used).
627
+ dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
628
+
629
+ # Argument names that match this expression will be ignored.
630
+ ignored-argument-names=_.*|^ignored_|^unused_
631
+
632
+ # Tells whether we should check for unused import in __init__ files.
633
+ init-import=no
634
+
635
+ # List of qualified module names which can have objects that can redefine
636
+ # builtins.
637
+ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io