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