smelt-cli 0.8.0__tar.gz → 0.9.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 (588) hide show
  1. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/CHANGELOG.md +122 -1
  2. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/CONTRIBUTING.md +7 -2
  3. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/Cargo.lock +1 -1
  4. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/Cargo.toml +1 -1
  5. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/PKG-INFO +3 -3
  6. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/README.md +2 -2
  7. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/integrations.md +4 -4
  8. {smelt_cli-0.8.0/smelt/skills/smelt/references → smelt_cli-0.9.0}/docs/rules/README.md +13 -0
  9. smelt_cli-0.9.0/docs/rules/SMT348.md +47 -0
  10. smelt_cli-0.9.0/docs/rules/SMT349.md +63 -0
  11. smelt_cli-0.9.0/docs/rules/SMT350.md +40 -0
  12. smelt_cli-0.9.0/docs/rules/SMT351.md +37 -0
  13. smelt_cli-0.9.0/docs/rules/SMT352.md +50 -0
  14. smelt_cli-0.9.0/docs/rules/SMT353.md +39 -0
  15. smelt_cli-0.9.0/docs/rules/SMT354.md +41 -0
  16. smelt_cli-0.9.0/docs/rules/SMT355.md +45 -0
  17. smelt_cli-0.9.0/docs/rules/SMT356.md +48 -0
  18. smelt_cli-0.9.0/docs/rules/SMT357.md +41 -0
  19. smelt_cli-0.9.0/docs/rules/SMT358.md +37 -0
  20. smelt_cli-0.9.0/docs/rules/SMT359.md +39 -0
  21. smelt_cli-0.9.0/docs/rules/SMT360.md +47 -0
  22. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/upgrading.md +52 -0
  23. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/pyproject.toml +1 -1
  24. smelt_cli-0.9.0/smelt/analysis/bindings.py +127 -0
  25. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/call_order.py +1 -1
  26. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/contracts.py +11 -1
  27. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/coverage.py +1 -1
  28. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/definition_blocks.py +1 -1
  29. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/discriminators.py +1 -1
  30. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/enum_values.py +1 -1
  31. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/facade_usage.py +4 -4
  32. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/files.py +126 -95
  33. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/literal_types.py +1 -1
  34. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/member_state.py +2 -2
  35. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/members.py +7 -7
  36. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/module_symbols.py +1 -1
  37. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/navigation.py +2 -2
  38. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/none_default_rewrite.py +1 -1
  39. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/none_defaults.py +1 -1
  40. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/ordering.py +4 -4
  41. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/ordering_rewrite.py +2 -2
  42. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/parsing.py +4 -5
  43. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/providers.py +4 -36
  44. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/python_version.py +1 -1
  45. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/settings.py +7 -46
  46. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/syntax.py +1 -1
  47. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_deadlines.py +1 -1
  48. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_syntax.py +7 -7
  49. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_timing.py +1 -1
  50. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/type_dispatch.py +2 -2
  51. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/support.py +1 -1
  52. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/composition.py +1 -1
  53. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/models.py +77 -0
  54. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/debt.py +1 -1
  55. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/report.py +1 -1
  56. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/suppressions.py +7 -12
  57. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/briefing.py +26 -4
  58. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/cache.py +1 -1
  59. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/changes.py +2 -2
  60. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/check.py +27 -16
  61. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/evaluation.py +1 -1
  62. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/inference.py +3 -3
  63. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/mirror_inference.py +1 -1
  64. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/none_default_fixes.py +1 -1
  65. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/ordering_fixes.py +21 -20
  66. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/result_cache.py +1 -1
  67. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/source_fixes.py +1 -1
  68. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/staged.py +1 -1
  69. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/model/architecture.py +1 -1
  70. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/activation.py +21 -0
  71. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/base.py +5 -3
  72. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/catalog.json +195 -0
  73. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/cycles.py +1 -1
  74. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/groups.py +1 -1
  75. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/registry.py +13 -0
  76. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/annotation_quotes.py +2 -9
  77. smelt_cli-0.9.0/smelt/rules/structure/broad_excepts.py +202 -0
  78. smelt_cli-0.9.0/smelt/rules/structure/conditional_expressions.py +80 -0
  79. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/context_managers.py +4 -10
  80. smelt_cli-0.9.0/smelt/rules/structure/dataclass_options.py +187 -0
  81. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/delegates.py +1 -1
  82. smelt_cli-0.9.0/smelt/rules/structure/domain_exceptions.py +213 -0
  83. smelt_cli-0.9.0/smelt/rules/structure/duplicate_class_names.py +125 -0
  84. smelt_cli-0.9.0/smelt/rules/structure/duplicate_functions.py +171 -0
  85. smelt_cli-0.9.0/smelt/rules/structure/duration_literals.py +150 -0
  86. smelt_cli-0.9.0/smelt/rules/structure/duration_units.py +197 -0
  87. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/enum_styles.py +1 -1
  88. smelt_cli-0.9.0/smelt/rules/structure/frozen_collections.py +117 -0
  89. smelt_cli-0.9.0/smelt/rules/structure/interface_docstrings.py +166 -0
  90. smelt_cli-0.9.0/smelt/rules/structure/narrowing_asserts.py +185 -0
  91. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/parameters.py +1 -1
  92. smelt_cli-0.9.0/smelt/rules/structure/project_bases.py +118 -0
  93. smelt_cli-0.9.0/smelt/rules/structure/stateful_dataclasses.py +288 -0
  94. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/tuples.py +6 -13
  95. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/CHANGELOG.md +122 -1
  96. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/README.md +2 -2
  97. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/integrations.md +4 -4
  98. {smelt_cli-0.8.0 → smelt_cli-0.9.0/smelt/skills/smelt/references}/docs/rules/README.md +13 -0
  99. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT348.md +47 -0
  100. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT349.md +63 -0
  101. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT350.md +40 -0
  102. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT351.md +37 -0
  103. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT352.md +50 -0
  104. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT353.md +39 -0
  105. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT354.md +41 -0
  106. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT355.md +45 -0
  107. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT356.md +48 -0
  108. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT357.md +41 -0
  109. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT358.md +37 -0
  110. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT359.md +39 -0
  111. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT360.md +47 -0
  112. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/upgrading.md +52 -0
  113. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt.schema.json +909 -49
  114. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt.yml +8 -0
  115. smelt_cli-0.9.0/tests/analysis/test_bindings.py +124 -0
  116. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/config/test_validation.py +13 -0
  117. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/test_suppressions.py +1 -3
  118. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_briefing.py +89 -0
  119. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_ordering_fixes.py +16 -16
  120. smelt_cli-0.9.0/tests/rules/structure/test_broad_excepts.py +218 -0
  121. smelt_cli-0.9.0/tests/rules/structure/test_conditional_expressions.py +100 -0
  122. smelt_cli-0.9.0/tests/rules/structure/test_dataclass_options.py +220 -0
  123. smelt_cli-0.9.0/tests/rules/structure/test_domain_exceptions.py +204 -0
  124. smelt_cli-0.9.0/tests/rules/structure/test_duplicate_class_names.py +162 -0
  125. smelt_cli-0.9.0/tests/rules/structure/test_duplicate_functions.py +190 -0
  126. smelt_cli-0.9.0/tests/rules/structure/test_duration_literals.py +142 -0
  127. smelt_cli-0.9.0/tests/rules/structure/test_duration_units.py +130 -0
  128. smelt_cli-0.9.0/tests/rules/structure/test_frozen_collections.py +134 -0
  129. smelt_cli-0.9.0/tests/rules/structure/test_interface_docstrings.py +170 -0
  130. smelt_cli-0.9.0/tests/rules/structure/test_narrowing_asserts.py +156 -0
  131. smelt_cli-0.9.0/tests/rules/structure/test_project_bases.py +186 -0
  132. smelt_cli-0.9.0/tests/rules/structure/test_stateful_dataclasses.py +222 -0
  133. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/uv.lock +1 -1
  134. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.editorconfig +0 -0
  135. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.gitattributes +0 -0
  136. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.github/dependabot.yml +0 -0
  137. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.github/pull_request_template.md +0 -0
  138. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.github/workflows/ci.yml +0 -0
  139. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.github/workflows/release.yml +0 -0
  140. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.gitignore +0 -0
  141. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.pre-commit-config.yml +0 -0
  142. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.pre-commit-hooks.yaml +0 -0
  143. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/.python-version +0 -0
  144. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/AGENTS.md +0 -0
  145. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/CLAUDE.md +0 -0
  146. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/README.md +0 -0
  147. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/adoption.md +0 -0
  148. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/agent-workflow.md +0 -0
  149. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/architecture.md +0 -0
  150. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/file-naming-2026-11-04.json +0 -0
  151. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/incremental-followup-2026-10-31.json +0 -0
  152. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/literal-types-dense-2026-11-08.json +0 -0
  153. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/literal-types-sparse-2026-11-08.json +0 -0
  154. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/native-checks-2026-10-31.json +0 -0
  155. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/native-git-retained-state-2026-10-31.json +0 -0
  156. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/precommit-performance-2026-10-30.json +0 -0
  157. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/review-feedback-2026-10-31.json +0 -0
  158. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/staged-checks-2026-10-30.json +0 -0
  159. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/benchmarks/staged-policy-cache-2026-10-31.json +0 -0
  160. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/cli.md +0 -0
  161. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/configuration.md +0 -0
  162. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/facade-export-evaluation.json +0 -0
  163. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/proposals/config-structure.md +0 -0
  164. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/review.md +0 -0
  165. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rule-selection.md +0 -0
  166. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT101.md +0 -0
  167. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT102.md +0 -0
  168. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT103.md +0 -0
  169. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT104.md +0 -0
  170. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT105.md +0 -0
  171. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT106.md +0 -0
  172. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT107.md +0 -0
  173. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT108.md +0 -0
  174. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT109.md +0 -0
  175. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT301.md +0 -0
  176. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT302.md +0 -0
  177. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT305.md +0 -0
  178. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT306.md +0 -0
  179. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT307.md +0 -0
  180. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT308.md +0 -0
  181. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT309.md +0 -0
  182. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT310.md +0 -0
  183. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT311.md +0 -0
  184. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT312.md +0 -0
  185. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT313.md +0 -0
  186. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT314.md +0 -0
  187. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT315.md +0 -0
  188. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT316.md +0 -0
  189. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT317.md +0 -0
  190. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT318.md +0 -0
  191. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT319.md +0 -0
  192. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT320.md +0 -0
  193. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT321.md +0 -0
  194. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT322.md +0 -0
  195. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT323.md +0 -0
  196. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT324.md +0 -0
  197. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT325.md +0 -0
  198. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT326.md +0 -0
  199. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT327.md +0 -0
  200. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT328.md +0 -0
  201. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT329.md +0 -0
  202. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT330.md +0 -0
  203. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT331.md +0 -0
  204. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT332.md +0 -0
  205. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT333.md +0 -0
  206. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT334.md +0 -0
  207. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT335.md +0 -0
  208. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT336.md +0 -0
  209. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT337.md +0 -0
  210. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT338.md +0 -0
  211. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT339.md +0 -0
  212. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT340.md +0 -0
  213. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT341.md +0 -0
  214. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT342.md +0 -0
  215. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT343.md +0 -0
  216. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT344.md +0 -0
  217. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT345.md +0 -0
  218. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT346.md +0 -0
  219. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT347.md +0 -0
  220. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT401.md +0 -0
  221. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT420.md +0 -0
  222. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT421.md +0 -0
  223. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT422.md +0 -0
  224. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT423.md +0 -0
  225. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT424.md +0 -0
  226. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT425.md +0 -0
  227. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT426.md +0 -0
  228. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT427.md +0 -0
  229. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT428.md +0 -0
  230. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT429.md +0 -0
  231. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT430.md +0 -0
  232. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT431.md +0 -0
  233. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT901.md +0 -0
  234. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT902.md +0 -0
  235. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/rules/SMT903.md +0 -0
  236. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/structure.md +0 -0
  237. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/test-quality-evaluation.json +0 -0
  238. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/testing.md +0 -0
  239. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/docs/vision.md +0 -0
  240. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/native/git.rs +0 -0
  241. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/native/main.rs +0 -0
  242. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/native/worker.rs +0 -0
  243. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/benchmark_checks.py +0 -0
  244. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/benchmark_file_naming.py +0 -0
  245. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/benchmark_hooks.py +0 -0
  246. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/benchmark_literal_types.py +0 -0
  247. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/benchmark_session.py +0 -0
  248. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/build_manylinux_wheel.sh +0 -0
  249. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/evaluate.py +0 -0
  250. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/generate.py +0 -0
  251. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/scripts/smoke_distribution.py +0 -0
  252. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/__init__.py +0 -0
  253. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/__main__.py +0 -0
  254. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/__init__.py +0 -0
  255. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/annotations.py +0 -0
  256. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/cache.py +0 -0
  257. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/context.py +0 -0
  258. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/errors.py +0 -0
  259. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/exports.py +0 -0
  260. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/function_usage.py +0 -0
  261. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/graphs.py +0 -0
  262. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/identity.py +0 -0
  263. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/import_cache.py +0 -0
  264. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/imports.py +0 -0
  265. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/lazy_exports.py +0 -0
  266. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/literals.py +0 -0
  267. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/module_access.py +0 -0
  268. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/package_exports.py +0 -0
  269. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/retained.py +0 -0
  270. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_awaits.py +0 -0
  271. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_cases.py +0 -0
  272. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_helpers.py +0 -0
  273. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_outcomes.py +0 -0
  274. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/test_subprocesses.py +0 -0
  275. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/typing_bindings.py +0 -0
  276. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/analysis/workspace.py +0 -0
  277. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/__init__.py +0 -0
  278. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/app.py +0 -0
  279. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/commands/__init__.py +0 -0
  280. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/commands/adopt.py +0 -0
  281. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/commands/check.py +0 -0
  282. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/commands/discover.py +0 -0
  283. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/commands/info.py +0 -0
  284. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/commands/skill.py +0 -0
  285. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/session.py +0 -0
  286. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/cli/session_slots.py +0 -0
  287. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/__init__.py +0 -0
  288. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/discovery.py +0 -0
  289. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/errors.py +0 -0
  290. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/loader.py +0 -0
  291. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/patterns.py +0 -0
  292. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/schema.py +0 -0
  293. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/source.py +0 -0
  294. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/config/validation.py +0 -0
  295. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/__init__.py +0 -0
  296. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/dedupe.py +0 -0
  297. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/groups.py +0 -0
  298. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/render/__init__.py +0 -0
  299. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/render/machine.py +0 -0
  300. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/render/text.py +0 -0
  301. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/diagnostics/violation.py +0 -0
  302. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/docs.py +0 -0
  303. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/__init__.py +0 -0
  304. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/coverage.py +0 -0
  305. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/file_checks.py +0 -0
  306. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/git_source.py +0 -0
  307. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/native_git.py +0 -0
  308. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/paths.py +0 -0
  309. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/rule_settings.py +0 -0
  310. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/schema.py +0 -0
  311. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/engine/workspace.py +0 -0
  312. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/model/__init__.py +0 -0
  313. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/py.typed +0 -0
  314. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/__init__.py +0 -0
  315. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/common.py +0 -0
  316. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/__init__.py +0 -0
  317. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/composition_root.py +0 -0
  318. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/facades.py +0 -0
  319. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/fanout.py +0 -0
  320. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/features.py +0 -0
  321. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/interfaces.py +0 -0
  322. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/layers.py +0 -0
  323. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/third_party.py +0 -0
  324. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/member_names.py +0 -0
  325. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/meta.py +0 -0
  326. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/__init__.py +0 -0
  327. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/aliases.py +0 -0
  328. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/assignments.py +0 -0
  329. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/attributes.py +0 -0
  330. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/awaited_arguments.py +0 -0
  331. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/call_order.py +0 -0
  332. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/callables.py +0 -0
  333. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/constants.py +0 -0
  334. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/contracts.py +0 -0
  335. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/coverage.py +0 -0
  336. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/discriminators.py +0 -0
  337. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/enum_values.py +0 -0
  338. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/exports.py +0 -0
  339. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/file_naming.py +0 -0
  340. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/headers.py +0 -0
  341. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/import_style.py +0 -0
  342. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/layout.py +0 -0
  343. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/literal_types.py +0 -0
  344. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/members.py +0 -0
  345. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/module_symbols.py +0 -0
  346. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/naming.py +0 -0
  347. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/navigation.py +0 -0
  348. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/none_defaults.py +0 -0
  349. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/ordering.py +0 -0
  350. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/package_imports.py +0 -0
  351. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/private_symbols.py +0 -0
  352. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/providers.py +0 -0
  353. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/settings.py +0 -0
  354. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/structure/type_dispatch.py +0 -0
  355. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/__init__.py +0 -0
  356. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/awaits.py +0 -0
  357. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/cases.py +0 -0
  358. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/location.py +0 -0
  359. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/mocking.py +0 -0
  360. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/outcomes.py +0 -0
  361. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/private_access.py +0 -0
  362. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/public_attributes.py +0 -0
  363. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/public_functions.py +0 -0
  364. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/randomness.py +0 -0
  365. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/rules/testing/timing.py +0 -0
  366. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/SKILL.md +0 -0
  367. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/adoption.md +0 -0
  368. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/architecture.md +0 -0
  369. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/cli.md +0 -0
  370. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/configuration.md +0 -0
  371. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rule-selection.md +0 -0
  372. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT101.md +0 -0
  373. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT102.md +0 -0
  374. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT103.md +0 -0
  375. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT104.md +0 -0
  376. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT105.md +0 -0
  377. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT106.md +0 -0
  378. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT107.md +0 -0
  379. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT108.md +0 -0
  380. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT109.md +0 -0
  381. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT301.md +0 -0
  382. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT302.md +0 -0
  383. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT305.md +0 -0
  384. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT306.md +0 -0
  385. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT307.md +0 -0
  386. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT308.md +0 -0
  387. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT309.md +0 -0
  388. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT310.md +0 -0
  389. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT311.md +0 -0
  390. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT312.md +0 -0
  391. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT313.md +0 -0
  392. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT314.md +0 -0
  393. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT315.md +0 -0
  394. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT316.md +0 -0
  395. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT317.md +0 -0
  396. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT318.md +0 -0
  397. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT319.md +0 -0
  398. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT320.md +0 -0
  399. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT321.md +0 -0
  400. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT322.md +0 -0
  401. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT323.md +0 -0
  402. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT324.md +0 -0
  403. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT325.md +0 -0
  404. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT326.md +0 -0
  405. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT327.md +0 -0
  406. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT328.md +0 -0
  407. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT329.md +0 -0
  408. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT330.md +0 -0
  409. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT331.md +0 -0
  410. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT332.md +0 -0
  411. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT333.md +0 -0
  412. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT334.md +0 -0
  413. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT335.md +0 -0
  414. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT336.md +0 -0
  415. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT337.md +0 -0
  416. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT338.md +0 -0
  417. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT339.md +0 -0
  418. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT340.md +0 -0
  419. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT341.md +0 -0
  420. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT342.md +0 -0
  421. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT343.md +0 -0
  422. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT344.md +0 -0
  423. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT345.md +0 -0
  424. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT346.md +0 -0
  425. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT347.md +0 -0
  426. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT401.md +0 -0
  427. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT420.md +0 -0
  428. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT421.md +0 -0
  429. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT422.md +0 -0
  430. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT423.md +0 -0
  431. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT424.md +0 -0
  432. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT425.md +0 -0
  433. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT426.md +0 -0
  434. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT427.md +0 -0
  435. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT428.md +0 -0
  436. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT429.md +0 -0
  437. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT430.md +0 -0
  438. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT431.md +0 -0
  439. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT901.md +0 -0
  440. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT902.md +0 -0
  441. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT903.md +0 -0
  442. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/structure.md +0 -0
  443. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/testing.md +0 -0
  444. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/__init__.py +0 -0
  445. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/__init__.py +0 -0
  446. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_annotations.py +0 -0
  447. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_context.py +0 -0
  448. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_contracts.py +0 -0
  449. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_enum_values.py +0 -0
  450. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_exports.py +0 -0
  451. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_identity.py +0 -0
  452. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_lazy_exports.py +0 -0
  453. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_module_symbols.py +0 -0
  454. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_none_default_rewrite.py +0 -0
  455. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_none_defaults.py +0 -0
  456. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_ordering.py +0 -0
  457. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_ordering_rewrite.py +0 -0
  458. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_parsing.py +0 -0
  459. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_python_version.py +0 -0
  460. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_retained.py +0 -0
  461. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_awaits.py +0 -0
  462. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_cases.py +0 -0
  463. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_deadlines.py +0 -0
  464. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_helpers.py +0 -0
  465. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_outcomes.py +0 -0
  466. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_syntax.py +0 -0
  467. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_test_timing.py +0 -0
  468. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_type_dispatch.py +0 -0
  469. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/analysis/test_workspace.py +0 -0
  470. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/__init__.py +0 -0
  471. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/commands/__init__.py +0 -0
  472. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/commands/test_adopt.py +0 -0
  473. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/commands/test_info.py +0 -0
  474. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/commands/test_skill.py +0 -0
  475. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/test_app.py +0 -0
  476. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/test_session.py +0 -0
  477. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/cli/test_session_slots.py +0 -0
  478. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/config/__init__.py +0 -0
  479. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/config/test_composition.py +0 -0
  480. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/config/test_loader.py +0 -0
  481. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/__init__.py +0 -0
  482. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/render/__init__.py +0 -0
  483. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/render/conftest.py +0 -0
  484. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/render/test_machine.py +0 -0
  485. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/render/test_text.py +0 -0
  486. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/test_debt.py +0 -0
  487. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/diagnostics/test_groups.py +0 -0
  488. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/__init__.py +0 -0
  489. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_cache.py +0 -0
  490. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_changes.py +0 -0
  491. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_check.py +0 -0
  492. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_coverage.py +0 -0
  493. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_evaluation.py +0 -0
  494. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_file_checks.py +0 -0
  495. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_inference.py +0 -0
  496. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_mirror_inference.py +0 -0
  497. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_native_git.py +0 -0
  498. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_none_default_fixes.py +0 -0
  499. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_paths.py +0 -0
  500. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_rule_settings.py +0 -0
  501. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_schema.py +0 -0
  502. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_source_fixes.py +0 -0
  503. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/engine/test_staged.py +0 -0
  504. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/smelt.yml +0 -0
  505. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/__init__.py +0 -0
  506. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/bootstrap.py +0 -0
  507. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/__init__.py +0 -0
  508. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/__init__.py +0 -0
  509. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/application/__init__.py +0 -0
  510. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/application/invoices.py +0 -0
  511. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/domain/__init__.py +0 -0
  512. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/domain/money.py +0 -0
  513. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/__init__.py +0 -0
  514. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/api/__init__.py +0 -0
  515. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/api/routes.py +0 -0
  516. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/application/__init__.py +0 -0
  517. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/application/ports.py +0 -0
  518. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/application/session.py +0 -0
  519. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/domain/__init__.py +0 -0
  520. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/domain/session.py +0 -0
  521. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/infra/__init__.py +0 -0
  522. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/infra/sql.py +0 -0
  523. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/main.py +0 -0
  524. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/shared/__init__.py +0 -0
  525. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/shared/clock.py +0 -0
  526. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/helpers.py +0 -0
  527. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/model/__init__.py +0 -0
  528. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/model/test_architecture.py +0 -0
  529. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/__init__.py +0 -0
  530. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/__init__.py +0 -0
  531. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_composition_root.py +0 -0
  532. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_cycles.py +0 -0
  533. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_facades.py +0 -0
  534. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_fanout.py +0 -0
  535. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_features.py +0 -0
  536. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_interfaces.py +0 -0
  537. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_layers.py +0 -0
  538. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_third_party.py +0 -0
  539. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/__init__.py +0 -0
  540. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_aliases.py +0 -0
  541. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_annotation_quotes.py +0 -0
  542. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_assignments.py +0 -0
  543. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_attributes.py +0 -0
  544. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_awaited_arguments.py +0 -0
  545. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_call_order.py +0 -0
  546. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_callables.py +0 -0
  547. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_constants.py +0 -0
  548. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_context_managers.py +0 -0
  549. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_contracts.py +0 -0
  550. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_coverage.py +0 -0
  551. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_delegates.py +0 -0
  552. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_discriminators.py +0 -0
  553. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_enum_styles.py +0 -0
  554. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_enum_values.py +0 -0
  555. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_exports.py +0 -0
  556. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_file_naming.py +0 -0
  557. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_headers.py +0 -0
  558. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_import_style.py +0 -0
  559. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_layout.py +0 -0
  560. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_literal_types.py +0 -0
  561. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_members.py +0 -0
  562. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_module_symbols.py +0 -0
  563. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_naming.py +0 -0
  564. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_navigation.py +0 -0
  565. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_none_defaults.py +0 -0
  566. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_ordering.py +0 -0
  567. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_package_imports.py +0 -0
  568. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_parameters.py +0 -0
  569. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_private_symbols.py +0 -0
  570. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_providers.py +0 -0
  571. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_settings.py +0 -0
  572. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_tuples.py +0 -0
  573. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/structure/test_type_dispatch.py +0 -0
  574. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/test_activation.py +0 -0
  575. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/test_member_names.py +0 -0
  576. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/test_registry.py +0 -0
  577. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/__init__.py +0 -0
  578. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_awaits.py +0 -0
  579. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_cases.py +0 -0
  580. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_location.py +0 -0
  581. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_mocking.py +0 -0
  582. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_outcomes.py +0 -0
  583. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_private_access.py +0 -0
  584. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_public_attributes.py +0 -0
  585. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_public_functions.py +0 -0
  586. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_randomness.py +0 -0
  587. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/rules/testing/test_timing.py +0 -0
  588. {smelt_cli-0.8.0 → smelt_cli-0.9.0}/tests/test_docs.py +0 -0
@@ -7,6 +7,126 @@ current configuration and complete rule contracts, see the [README](README.md),
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.0] - 2026-11-16
11
+
12
+ Report schema 2, YAML version 1, grouped debt baseline version 2, the default
13
+ rule set and exit codes remain unchanged. The thirteen new reviews require
14
+ explicit selection or package policy and have no automatic rewrites. Update
15
+ installation, hook and CI pins together to `0.9.0` (`v0.9.0`), refresh the editor
16
+ schema and reinstall the bundled agent skill with `smelt skill install --force`.
17
+ No baseline rewrite is required. See the
18
+ [upgrade checklist](docs/upgrading.md#080-to-090).
19
+
20
+ - Optional ownership review [SMT360](docs/rules/SMT360.md)
21
+ `mutable-field-in-frozen-dataclass` reports directly annotated `dict`, `list`
22
+ and `set` instance fields on explicitly frozen dataclasses, including import
23
+ aliases. Review mutability and caller aliases; `Mapping` alone freezes nothing
24
+ and a mapping proxy needs a defensive copy to isolate the caller's dictionary.
25
+ Enable `rules: {mutable-field-in-frozen-dataclass: warning}`; no automatic rewrite.
26
+ Implements [#153](https://github.com/mathisarends/smelt/issues/153).
27
+ - Optional style review [SMT359](docs/rules/SMT359.md)
28
+ `nested-conditional-expression` reports direct nesting in either result branch,
29
+ once per outermost chain. Use explicit `if/elif` or `match` while preserving lazy
30
+ evaluation. Simple fallbacks and independent conditionals remain valid. Enable
31
+ `rules: {nested-conditional-expression: hint}`; no automatic rewrite. Implements
32
+ [#152](https://github.com/mathisarends/smelt/issues/152).
33
+ - Optional review [SMT348](docs/rules/SMT348.md) `missing-interface-docstring`
34
+ reports `@abstractmethod` and `typing.Protocol` methods whose body is only
35
+ `...`, `pass` or `raise NotImplementedError` and which have no docstring, so
36
+ ports state their contract where implementers read it. Default
37
+ implementations, `@overload`/`@override` signatures, property setters,
38
+ dunders other than `__call__` and tests are ignored. Enable it with
39
+ `rules: {missing-interface-docstring: hint}`; no automatic rewrite.
40
+ Implements [#127](https://github.com/mathisarends/smelt/issues/127).
41
+ - Optional review [SMT349](docs/rules/SMT349.md) `stateful-dataclass` reports
42
+ a `@dataclass` that is not `frozen=True` when a method other than
43
+ `__post_init__` assigns, deletes or augments an attribute of `self`, writes
44
+ an item of a field, calls a mutating container method on a field declared as
45
+ a mutable container, or calls `setattr` on `self`. Build values before
46
+ construction and freeze the dataclass, or keep accumulation in a plain class
47
+ with private attributes. Mutations through other objects and tests are
48
+ ignored. Enable it with `rules: {stateful-dataclass: hint}`; no automatic
49
+ rewrite. Implements [#133](https://github.com/mathisarends/smelt/issues/133).
50
+ - Optional review [SMT350](docs/rules/SMT350.md) `missing-broad-except-reason`
51
+ reports `except Exception`, `except BaseException`, tuples containing them
52
+ and bare `except:` handlers without a comment explaining why they catch
53
+ everything. Comments on the `except` line, directly above it or before or on
54
+ the first body statement count; linter directives such as `noqa` or
55
+ `pylint: disable` alone do not. Handlers that always re-raise and tests are
56
+ ignored. Enable it with `rules: {missing-broad-except-reason: hint}`; no
57
+ automatic rewrite. Implements
58
+ [#143](https://github.com/mathisarends/smelt/issues/143).
59
+ - Package contracts accept `dataclass_options`, a list of `frozen`, `slots`
60
+ and `kw_only`. Policy rule [SMT351](docs/rules/SMT351.md)
61
+ `missing-dataclass-option` then reports production `@dataclass` classes
62
+ that do not set each listed option to `True`. Missing `slots` is not
63
+ reported below bases from outside the project or for classes with a
64
+ `functools.cached_property`. The closest package policy wins, `[]` lifts an
65
+ outer requirement and `smelt context` shows the policy. Tests are not
66
+ checked; no automatic rewrite. Implements
67
+ [#137](https://github.com/mathisarends/smelt/issues/137).
68
+ - Optional review [SMT355](docs/rules/SMT355.md) `duplicate-class-name`
69
+ reports public top-level classes whose name is also defined at the top level
70
+ of another module in the same package, counting the package's `__init__.py`.
71
+ Each definition gets a finding with the other locations. Re-exports, private
72
+ and nested classes, separate packages and tests are not compared. Enable it
73
+ with `rules: {duplicate-class-name: warning}`; no automatic rewrite.
74
+ Implements [#138](https://github.com/mathisarends/smelt/issues/138).
75
+ - Optional review [SMT356](docs/rules/SMT356.md) `duplicate-narrowing-assert`
76
+ reports, once per class and expression, `assert self.<attribute> is not None`
77
+ or `assert isinstance(self.<attribute>, ...)` repeated in at least two methods
78
+ of the same class, including each operand of an `and`. Single local
79
+ narrowings, asserts in nested functions, static methods and tests are not
80
+ reported. Make the attribute required during construction or read it through
81
+ one property that raises a meaningful error. Enable it with
82
+ `rules: {duplicate-narrowing-assert: warning}`; no automatic rewrite.
83
+ Implements [#142](https://github.com/mathisarends/smelt/issues/142).
84
+ - Optional review [SMT352](docs/rules/SMT352.md) `duplicate-function` reports
85
+ module-level functions whose parameters, annotations, decorators and body
86
+ match another function in the same root package, ignoring names,
87
+ docstrings, comments and formatting. Every copy gets a finding listing the
88
+ others and their nearest common package. Bodies under three statements,
89
+ methods, nested functions and tests are ignored. Enable it with
90
+ `rules: {duplicate-function: warning}`; no automatic rewrite. Implements
91
+ [#140](https://github.com/mathisarends/smelt/issues/140).
92
+ - Optional review [SMT357](docs/rules/SMT357.md) `missing-duration-unit`
93
+ reports module constants, class fields and parameters named `*timeout`,
94
+ `*delay`, `*interval`, `*duration` or `*wait` that hold an `int` or `float`
95
+ without a unit suffix, such as `_FRAME_TIMEOUT = 2.0`. Names ending in a
96
+ unit (`_TIMEOUT_SECONDS`, `quiet_ms`), `timedelta` values, `@overload` and
97
+ `@override` signatures and tests are not reported. Enable it with
98
+ `rules: {missing-duration-unit: warning}`; no automatic rewrite.
99
+ - Optional review [SMT358](docs/rules/SMT358.md) `prefer-named-duration`
100
+ reports `int` and `float` literals passed as the duration of
101
+ `asyncio.timeout`, `asyncio.sleep`, `asyncio.wait_for`, `asyncio.wait`,
102
+ `time.sleep` and the anyio and trio sleep and timeout scopes, and literals
103
+ added to a clock reading such as `loop.time() + 10`. `sleep(0)` and tests
104
+ are not reported. Enable it with `rules: {prefer-named-duration: warning}`;
105
+ no automatic rewrite. Together with SMT357 implements
106
+ [#135](https://github.com/mathisarends/smelt/issues/135).
107
+ - Package contracts accept `bases`, a mapping from an outside base class to
108
+ the project base that replaces it, e.g.
109
+ `{pydantic.BaseModel: app.core.Options}`. Policy rule
110
+ [SMT353](docs/rules/SMT353.md) `prefer-project-base-class` then reports
111
+ production classes that inherit the outside base directly, resolved through
112
+ imports, aliases and module attributes. Only inheritance is judged:
113
+ importing the outside base for annotations, `isinstance` or adapters stays
114
+ valid. The module defining the project base is exempt, the closest package
115
+ policy wins, `{}` lifts an outer mapping and `smelt context` shows the
116
+ policy. Tests are not checked; no automatic rewrite. Implements
117
+ [#139](https://github.com/mathisarends/smelt/issues/139).
118
+ - Package contracts accept `errors: {base: <qualified exception>, allow: [...]}`.
119
+ Policy rule [SMT354](docs/rules/SMT354.md) `prefer-domain-exception` then
120
+ reports production code that raises a builtin exception class instead of
121
+ the project hierarchy, including `raise ValueError(...) from error`.
122
+ `NotImplementedError`, `StopIteration`, `StopAsyncIteration`,
123
+ `GeneratorExit`, `KeyboardInterrupt` and `SystemExit` are always allowed and
124
+ `allow` adds more. Bare re-raises, names shadowing a builtin, protocol dunder
125
+ methods such as `__getattr__` and pydantic validators are not reported. The
126
+ closest package policy wins, `errors: {}` lifts an outer policy and
127
+ `smelt context` shows it. Tests are not checked; no automatic rewrite.
128
+ Implements [#141](https://github.com/mathisarends/smelt/issues/141).
129
+
10
130
  ## [0.8.0] - 2026-11-14
11
131
 
12
132
  Report schema 2, YAML version 1, grouped debt baseline version 2, the default
@@ -757,7 +877,8 @@ smelt explain SMT313 --format json
757
877
  - Import fanout, match suggestions and missing-assertion checks are review aids;
758
878
  their default severities differ. Configure policy and severity deliberately.
759
879
 
760
- [Unreleased]: https://github.com/mathisarends/smelt/compare/v0.8.0...HEAD
880
+ [Unreleased]: https://github.com/mathisarends/smelt/compare/v0.9.0...HEAD
881
+ [0.9.0]: https://github.com/mathisarends/smelt/compare/v0.8.0...v0.9.0
761
882
  [0.8.0]: https://github.com/mathisarends/smelt/compare/v0.7.0...v0.8.0
762
883
  [0.7.0]: https://github.com/mathisarends/smelt/compare/v0.6.0...v0.7.0
763
884
  [0.6.0]: https://github.com/mathisarends/smelt/compare/v0.5.0...v0.6.0
@@ -53,9 +53,14 @@ Smelt checks these architecture boundaries with its own `smelt.yml`.
53
53
  The repository also enables public-first ordering, the complete
54
54
  `information-hiding` group, static-helper visibility and test-quality reviews.
55
55
  It checks private-symbol imports, redundant delegates/name aliases, deferred
56
- annotations and explicit `StrEnum` values. Keep serialized enum values stable.
56
+ annotations, explicit `StrEnum` values and docstrings on abstract and
57
+ `Protocol` methods, dataclasses that mutate their own fields after
58
+ construction, broad exception handlers without a stated reason and copied
59
+ module-level functions; shared syntax helpers live in `analysis/bindings.py`. Keep
60
+ serialized enum values stable.
57
61
  Functions accept at most three positional parameters; pass later arguments by
58
- keyword, including in tests and partial applications. Repeated `Literal` types
62
+ keyword, including in tests and partial applications. Production dataclasses
63
+ set `slots=True` unless a `cached_property` or an outside base rules it out. Repeated `Literal` types
59
64
  and anonymous tuple types remain hints: review their meaning before sharing an
60
65
  alias or introducing a named record. Composite lookup keys, source spans and
61
66
  Python version pairs can keep tuple semantics. Future
@@ -1380,7 +1380,7 @@ checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
1380
1380
 
1381
1381
  [[package]]
1382
1382
  name = "smelt-cli"
1383
- version = "0.8.0"
1383
+ version = "0.9.0"
1384
1384
  dependencies = [
1385
1385
  "base64",
1386
1386
  "gix",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "smelt-cli"
3
- version = "0.8.0"
3
+ version = "0.9.0"
4
4
  edition = "2024"
5
5
  rust-version = "1.88"
6
6
  publish = false
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smelt-cli
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Requires-Dist: grimp>=3.17
5
5
  Requires-Dist: packaging>=24.2
6
6
  Requires-Dist: pydantic>=2.13.5
@@ -37,7 +37,7 @@ uv tool install smelt-cli
37
37
  smelt init --maintainability
38
38
  ```
39
39
 
40
- Upgrading to 0.8.0? Follow the [upgrade checklist](docs/upgrading.md#070-to-080)
40
+ Upgrading to 0.9.0? Follow the [upgrade checklist](docs/upgrading.md#080-to-090)
41
41
  for pins and the new opt-in reviews.
42
42
 
43
43
  Review the generated `smelt.yml`: it proposes a starting policy from your layout
@@ -118,7 +118,7 @@ repos:
118
118
  name: smelt
119
119
  entry: smelt check --staged --fail-on warning
120
120
  language: python
121
- additional_dependencies: [smelt-cli==0.8.0]
121
+ additional_dependencies: [smelt-cli==0.9.0]
122
122
  pass_filenames: false
123
123
  always_run: true
124
124
  require_serial: true
@@ -22,7 +22,7 @@ uv tool install smelt-cli
22
22
  smelt init --maintainability
23
23
  ```
24
24
 
25
- Upgrading to 0.8.0? Follow the [upgrade checklist](docs/upgrading.md#070-to-080)
25
+ Upgrading to 0.9.0? Follow the [upgrade checklist](docs/upgrading.md#080-to-090)
26
26
  for pins and the new opt-in reviews.
27
27
 
28
28
  Review the generated `smelt.yml`: it proposes a starting policy from your layout
@@ -103,7 +103,7 @@ repos:
103
103
  name: smelt
104
104
  entry: smelt check --staged --fail-on warning
105
105
  language: python
106
- additional_dependencies: [smelt-cli==0.8.0]
106
+ additional_dependencies: [smelt-cli==0.9.0]
107
107
  pass_filenames: false
108
108
  always_run: true
109
109
  require_serial: true
@@ -54,7 +54,7 @@ repos:
54
54
  name: smelt (new staged findings)
55
55
  entry: smelt check --staged --fail-on warning
56
56
  language: python
57
- additional_dependencies: [smelt-cli==0.8.0]
57
+ additional_dependencies: [smelt-cli==0.9.0]
58
58
  pass_filenames: false
59
59
  always_run: true
60
60
  require_serial: true
@@ -73,7 +73,7 @@ can modify files; inspect their changes, rerun and stage the result.
73
73
  Projects already depending on Smelt can instead use a local `language: system`
74
74
  hook with `entry: uv run --locked smelt check --staged --fail-on warning`.
75
75
  To install from source, use `repo: https://github.com/mathisarends/smelt`,
76
- `rev: v0.8.0` and `id: smelt-staged` (or `id: smelt` for full checks). This source
76
+ `rev: v0.9.0` and `id: smelt-staged` (or `id: smelt` for full checks). This source
77
77
  installation requires Rust 1.88+ and a platform linker. Use the release's
78
78
  matching `v`-prefixed Git tag. See the [agent workflow](agent-workflow.md) for
79
79
  cache behavior and limitations. Smelt's disposable `.smelt_cache/` creates its
@@ -94,9 +94,9 @@ Install prek in the CI environment before running it (or use `uvx prek run`).
94
94
  ```yaml
95
95
  - uses: astral-sh/setup-uv@v7
96
96
  - run: prek run --all-files --show-diff-on-failure
97
- - run: uvx --from smelt-cli==0.8.0 smelt check --format github
97
+ - run: uvx --from smelt-cli==0.9.0 smelt check --format github
98
98
  # optional: code scanning
99
- - run: uvx --from smelt-cli==0.8.0 smelt check --format sarif > smelt.sarif || true
99
+ - run: uvx --from smelt-cli==0.9.0 smelt check --format sarif > smelt.sarif || true
100
100
  - uses: github/codeql-action/upload-sarif@v3
101
101
  with:
102
102
  sarif_file: smelt.sarif
@@ -56,6 +56,19 @@
56
56
  | [SMT345](SMT345.md) | excess-positional-parameters | structure | policy | warning |
57
57
  | [SMT346](SMT346.md) | prefer-deferred-annotations | structure | explicit | hint |
58
58
  | [SMT347](SMT347.md) | anonymous-tuple-type | structure | explicit | hint |
59
+ | [SMT348](SMT348.md) | missing-interface-docstring | structure | explicit | hint |
60
+ | [SMT349](SMT349.md) | stateful-dataclass | structure | explicit | hint |
61
+ | [SMT350](SMT350.md) | missing-broad-except-reason | structure | explicit | hint |
62
+ | [SMT351](SMT351.md) | missing-dataclass-option | structure | policy | warning |
63
+ | [SMT352](SMT352.md) | duplicate-function | structure | explicit | warning |
64
+ | [SMT353](SMT353.md) | prefer-project-base-class | structure | policy | warning |
65
+ | [SMT354](SMT354.md) | prefer-domain-exception | structure | policy | warning |
66
+ | [SMT355](SMT355.md) | duplicate-class-name | structure | explicit | warning |
67
+ | [SMT356](SMT356.md) | duplicate-narrowing-assert | structure | explicit | warning |
68
+ | [SMT357](SMT357.md) | missing-duration-unit | structure | explicit | warning |
69
+ | [SMT358](SMT358.md) | prefer-named-duration | structure | explicit | warning |
70
+ | [SMT359](SMT359.md) | nested-conditional-expression | structure | explicit | hint |
71
+ | [SMT360](SMT360.md) | mutable-field-in-frozen-dataclass | structure | explicit | warning |
59
72
  | [SMT401](SMT401.md) | test-location | tests | policy | error |
60
73
  | [SMT420](SMT420.md) | private-test-access | tests | explicit | error |
61
74
  | [SMT421](SMT421.md) | forbidden-test-mock | tests | policy | error |
@@ -0,0 +1,47 @@
1
+ # SMT348 missing-interface-docstring
2
+
3
+ An abstract or Protocol method has a placeholder body and no docstring.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ A port or interface method has no implementation to read, so its docstring is the only place that states the contract: what the method guarantees, what it requires and what it leaves untouched. A bare ... body leaves implementers and callers to guess, and one undocumented member next to documented siblings usually means the contract was forgotten, not that it is obvious. This opt-in review reports @abstractmethod methods (including abstract properties) and methods of typing.Protocol classes whose body is only ..., pass or raise NotImplementedError and which have no docstring. Methods with a default implementation, @overload/@override signatures, property setters/deleters, dunder methods other than __call__ and tests are not reported. Ordinary Protocol attributes have no body and are out of scope.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ class BrowserAgentProfile(ABC):
17
+ @property
18
+ @abstractmethod
19
+ def initial_tab_id(self) -> UUID: ...
20
+
21
+ @abstractmethod
22
+ async def revoke(self) -> None: ...
23
+ ```
24
+
25
+ ## Good
26
+
27
+ ```python
28
+ class BrowserAgentProfile(ABC):
29
+ @property
30
+ @abstractmethod
31
+ def initial_tab_id(self) -> UUID:
32
+ """The tab retained when the profile grant was acquired."""
33
+
34
+ @abstractmethod
35
+ async def revoke(self) -> None:
36
+ """Fence native access and settle all resource leases."""
37
+ ```
38
+
39
+ ## How to fix
40
+
41
+ Replace the placeholder body with a docstring that states the method's contract; a docstring alone is a valid body, so drop the ... (Ruff PIE790 reports a placeholder left after a docstring). No automatic rewrite is performed. Enable rules: {missing-interface-docstring: hint}, or select SMT348. Package overrides and reasoned inline suppressions are supported.
42
+
43
+ ## Config
44
+
45
+ - `rules`
46
+
47
+ Explain it in the terminal with `smelt explain SMT348`.
@@ -0,0 +1,63 @@
1
+ # SMT349 stateful-dataclass
2
+
3
+ A dataclass mutates its own fields after construction.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ A dataclass reads as a value: its generated __init__ is the constructor and its fields are what callers may rely on. When methods keep writing to self, the class is really a mutable accumulator or state machine with a value-like surface: callers can construct it in a half-built state, observe fields that are only scratch space for private helpers, and share instances whose contents change underneath them. Building the values first and passing them to a frozen dataclass, or keeping the accumulation in a plain class with private attributes, makes the lifecycle explicit. This opt-in review reports a @dataclass that is not frozen=True when a method other than __post_init__ assigns, deletes or augments an attribute of self, assigns or deletes an item of a field, calls a mutating container method such as append, add, update, pop or discard on a field declared as a mutable container, or calls setattr on self. Mutations inside nested functions of a method count. Calls that mutate through other objects, classes that are not dataclasses and tests are not reported. Intentional mutable records can keep a reasoned suppression.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ @dataclass
17
+ class InterruptedActivity:
18
+ turn: str | None = None
19
+ started: set[str] = field(default_factory=set)
20
+
21
+ @classmethod
22
+ def scan(cls, events: Iterable[Event]) -> Self:
23
+ activity = cls()
24
+ for event in events:
25
+ activity._observe(event)
26
+ return activity
27
+
28
+ def _observe(self, event: Event) -> None:
29
+ if isinstance(event, TurnStarted):
30
+ self.turn = event.turn_id
31
+ elif isinstance(event, ToolStarted):
32
+ self.started.add(event.call_id)
33
+ ```
34
+
35
+ ## Good
36
+
37
+ ```python
38
+ @dataclass(frozen=True)
39
+ class InterruptedActivity:
40
+ turn: str | None
41
+ started: frozenset[str]
42
+
43
+ @classmethod
44
+ def scan(cls, events: Iterable[Event]) -> Self:
45
+ turn = None
46
+ started: set[str] = set()
47
+ for event in events:
48
+ if isinstance(event, TurnStarted):
49
+ turn = event.turn_id
50
+ elif isinstance(event, ToolStarted):
51
+ started.add(event.call_id)
52
+ return cls(turn=turn, started=frozenset(started))
53
+ ```
54
+
55
+ ## How to fix
56
+
57
+ Compute the field values first and pass them to the constructor of a frozen dataclass, using immutable field types such as tuple, frozenset or Mapping; derive further values with properties or dataclasses.replace. When the object genuinely accumulates state, make it a plain class whose scratch attributes are private, or move the accumulation into a separate builder. No automatic rewrite is performed. Enable rules: {stateful-dataclass: hint}, or select SMT349. Package overrides and reasoned inline suppressions are supported.
58
+
59
+ ## Config
60
+
61
+ - `rules`
62
+
63
+ Explain it in the terminal with `smelt explain SMT349`.
@@ -0,0 +1,40 @@
1
+ # SMT350 missing-broad-except-reason
2
+
3
+ A broad exception handler does not say why it catches everything.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ Catching Exception, BaseException or everything with a bare except is sometimes the right call: a background task must survive a failing callback, or a best-effort lookup may fail in many ways. Which of these applies is invisible in the code itself, and a linter pragma such as '# noqa: BLE001' or '# pylint: disable=broad-exception-caught' records only that the warning was silenced, not why. Without the reason, a reviewer cannot tell a deliberate boundary from a swallowed bug. This opt-in review reports an except clause whose type is Exception, BaseException, a tuple containing one of them, or missing, when no explanatory comment sits on the except line, on the comment lines directly above it, or between the except line and the first statement of its body, including a trailing comment on that statement. Tool directives such as noqa, pylint: disable, type: ignore, pragma: no cover and smelt: ignore do not count as an explanation, but text after them does. Handlers whose last statement is a raise and that contain no return, break or continue always propagate the failure and are not reported. Tests are not reported.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ try:
17
+ return plugin.load()
18
+ except Exception: # pylint: disable=broad-exception-caught
19
+ return None
20
+ ```
21
+
22
+ ## Good
23
+
24
+ ```python
25
+ try:
26
+ return plugin.load()
27
+ except Exception: # pylint: disable=broad-exception-caught
28
+ # Third-party plugins may fail in any way; a broken one is skipped.
29
+ return None
30
+ ```
31
+
32
+ ## How to fix
33
+
34
+ Catch the specific exceptions the code can recover from. When the handler must stay broad, add a comment that states why, for example which boundary it protects or why any failure is acceptable. No automatic rewrite is performed. Enable rules: {missing-broad-except-reason: hint}, or select SMT350. Package overrides and reasoned inline suppressions are supported.
35
+
36
+ ## Config
37
+
38
+ - `rules`
39
+
40
+ Explain it in the terminal with `smelt explain SMT350`.
@@ -0,0 +1,37 @@
1
+ # SMT351 missing-dataclass-option
2
+
3
+ A dataclass does not set an option its package requires.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** policy — A package contract sets dataclass_options, including [].
7
+ - **Severity when active:** warning
8
+
9
+ ## Why
10
+
11
+ Whether a dataclass is frozen, uses slots or takes keyword-only arguments changes how callers may use it, yet codebases drift between @dataclass, @dataclass(frozen=True) and @dataclass(frozen=True, slots=True) without anyone being able to tell which deviations are deliberate. A package contract lists dataclass_options, any of frozen, slots and kw_only, and every production @dataclass in the package must set each of them to True. An option that is missing or explicitly False is reported; a non-literal value is not judged. Missing slots is not reported when a base class comes from outside the project, such as a third-party or builtin class without __slots__, because slots save nothing there; bases from abc and typing still count. It is also not reported for classes with a functools.cached_property, which needs an instance __dict__. Nested packages can set their own list, and [] lifts the requirement. Tests are not checked.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ @dataclass(frozen=True)
17
+ class Policy:
18
+ timeout_seconds: float
19
+ ```
20
+
21
+ ## Good
22
+
23
+ ```python
24
+ @dataclass(frozen=True, slots=True)
25
+ class Policy:
26
+ timeout_seconds: float
27
+ ```
28
+
29
+ ## How to fix
30
+
31
+ Add the missing options to the decorator. A dataclass that must stay mutable or unslotted keeps a reasoned suppression, or lives in a package whose contract sets its own dataclass_options. No automatic rewrite is performed. Enable it with a package contract, e.g. structure.contracts.<name>: {match: app, dataclass_options: [frozen, slots]}.
32
+
33
+ ## Config
34
+
35
+ - `structure.contracts`
36
+
37
+ Explain it in the terminal with `smelt explain SMT351`.
@@ -0,0 +1,50 @@
1
+ # SMT352 duplicate-function
2
+
3
+ A module-level function repeats another function's code.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** warning
8
+
9
+ ## Why
10
+
11
+ Copy-pasted helpers drift: a fix or a changed message lands in one copy and the others keep the old behavior, and readers cannot tell whether the difference is intended. This opt-in review compares module-level functions within each analyzed root package and reports every function whose parameters, annotations, decorators and body are identical to another one's, ignoring names, docstrings, comments and formatting. A body needs at least three statements, counting nested ones, so trivial one-liners are not reported. Methods, nested functions, test files and separate root packages are not compared. Each copy gets its own finding with the other locations.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ # app/tools/keyboard.py
17
+ def _secret_entered(exact: bool) -> Effect:
18
+ if exact:
19
+ return Effect("Text entered.")
20
+ return Effect("Text entered with a slip.", break_chain=True)
21
+
22
+ # app/tools/typing.py
23
+ def _secret_entered(exact: bool) -> Effect:
24
+ if exact:
25
+ return Effect("Text entered.")
26
+ return Effect("Text entered with a slip.", break_chain=True)
27
+ ```
28
+
29
+ ## Good
30
+
31
+ ```python
32
+ # app/tools/effects.py
33
+ def secret_entered(exact: bool) -> Effect:
34
+ if exact:
35
+ return Effect("Text entered.")
36
+ return Effect("Text entered with a slip.", break_chain=True)
37
+
38
+ # app/tools/keyboard.py and app/tools/typing.py
39
+ from app.tools.effects import secret_entered
40
+ ```
41
+
42
+ ## How to fix
43
+
44
+ Keep one copy in a module both callers may import, usually in their nearest common package, and import it from there. Check architecture boundaries and import cycles when choosing the owner. Copies that must evolve independently keep a reasoned suppression. No automatic rewrite is performed. Enable rules: {duplicate-function: warning}, or select SMT352.
45
+
46
+ ## Config
47
+
48
+ - `rules`
49
+
50
+ Explain it in the terminal with `smelt explain SMT352`.
@@ -0,0 +1,39 @@
1
+ # SMT353 prefer-project-base-class
2
+
3
+ A class inherits an outside base directly instead of the project base.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** policy — A package contract sets bases, including {}.
7
+ - **Severity when active:** warning
8
+
9
+ ## Why
10
+
11
+ Projects often wrap a framework base in their own base class to share configuration, for example a pydantic BaseModel subclass that sets extra='forbid' and frozen=True. A class that inherits the framework base directly silently misses that configuration, and nothing in the class tells a reviewer. A package contract maps each outside base to the project base, e.g. bases: {pydantic.BaseModel: app.core.Options}, and production classes in the package that list the outside base among their direct bases are reported. Bases are resolved through the module's imports, including aliases and module attributes. Only inheritance is judged: importing the outside base for annotations, isinstance checks or adapters stays valid. The module that defines the project base is exempt, a nested package can set bases: {} to allow direct inheritance, and single classes can keep a reasoned suppression. Tests are not checked.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ from pydantic import BaseModel, ConfigDict
17
+
18
+ class Manifest(BaseModel):
19
+ model_config = ConfigDict(extra="forbid")
20
+ ```
21
+
22
+ ## Good
23
+
24
+ ```python
25
+ from app.core.options import Options
26
+
27
+ class Manifest(Options):
28
+ ...
29
+ ```
30
+
31
+ ## How to fix
32
+
33
+ Inherit the project base named in the finding and drop configuration that only repeated it. When a class deliberately needs the outside base, keep a reasoned suppression or move it into a package whose contract sets bases: {}. No automatic rewrite is performed. Enable it with a package contract, e.g. structure.contracts.<name>: {match: app, bases: {pydantic.BaseModel: app.core.Options}}.
34
+
35
+ ## Config
36
+
37
+ - `structure.contracts`
38
+
39
+ Explain it in the terminal with `smelt explain SMT353`.
@@ -0,0 +1,41 @@
1
+ # SMT354 prefer-domain-exception
2
+
3
+ Production code raises a builtin exception instead of the project hierarchy.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** policy — A package contract sets errors, including {}.
7
+ - **Severity when active:** warning
8
+
9
+ ## Why
10
+
11
+ A project exception hierarchy lets callers tell a domain failure apart from a programming error. Code that keeps raising ValueError or RuntimeError for domain failures, or converts every error into one, forces callers to catch broad builtins and guess what went wrong. A package contract names the project base, e.g. errors: {base: app.errors.AppError}, and production code in the package that raises a builtin exception class, with or without arguments and with or without from, is reported. NotImplementedError, StopIteration, StopAsyncIteration, GeneratorExit, KeyboardInterrupt and SystemExit are always allowed, and errors.allow adds more, e.g. [TypeError]. Bare re-raises, raising caught or project exceptions, names that shadow a builtin, raises in protocol dunder methods such as __getattr__ or __getitem__, and pydantic validators, which must raise ValueError or AssertionError, are not reported. Tests are not checked.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ try:
17
+ return self._read(path)
18
+ except Exception as error: # surface unreadable files
19
+ raise ValueError(f"Could not read {path.name}") from error
20
+ ```
21
+
22
+ ## Good
23
+
24
+ ```python
25
+ from app.errors import ReadError
26
+
27
+ try:
28
+ return self._read(path)
29
+ except Exception as error: # surface unreadable files
30
+ raise ReadError(f"Could not read {path.name}") from error
31
+ ```
32
+
33
+ ## How to fix
34
+
35
+ Raise a subclass of the configured base that names the failure, and let callers catch that subclass. When callers rely on a builtin, for example TypeError for wrong argument types, add it to errors.allow, or set errors: {} in a nested package that deliberately raises builtins. No automatic rewrite is performed. Enable it with a package contract, e.g. structure.contracts.<name>: {match: app, errors: {base: app.errors.AppError}}.
36
+
37
+ ## Config
38
+
39
+ - `structure.contracts`
40
+
41
+ Explain it in the terminal with `smelt explain SMT354`.
@@ -0,0 +1,45 @@
1
+ # SMT355 duplicate-class-name
2
+
3
+ Two modules of one package define a public class with the same name.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** warning
8
+
9
+ ## Why
10
+
11
+ When two modules of the same package each define a public class called PageContent, imports, search results and review comments stop saying which one is meant, and the wrong import still type checks when the shapes are similar. This opt-in review groups public top-level classes by their nearest package, counting a package's __init__.py as part of that package, and reports every class whose name is also defined at the top level of another module there. Re-exports, private classes, nested classes, classes in separate packages and tests are not compared. Each definition gets its own finding with the other locations.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ # app/observation/models.py
17
+ class PageContent:
18
+ html: str
19
+
20
+ # app/observation/content.py
21
+ class PageContent(Options):
22
+ markdown: str
23
+ ```
24
+
25
+ ## Good
26
+
27
+ ```python
28
+ # app/observation/models.py
29
+ class CapturedPage:
30
+ html: str
31
+
32
+ # app/observation/content.py
33
+ class PageRead(Options):
34
+ markdown: str
35
+ ```
36
+
37
+ ## How to fix
38
+
39
+ Rename the classes after their role so each name says which one is meant, or merge them when they describe the same thing. A class that only exists as a private implementation detail can take a leading underscore. No automatic rewrite is performed. Enable rules: {duplicate-class-name: warning}, or select SMT355.
40
+
41
+ ## Config
42
+
43
+ - `rules`
44
+
45
+ Explain it in the terminal with `smelt explain SMT355`.