jstark 0.1.0__tar.gz

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