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