smelt-cli 0.7.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.9.0/AGENTS.md +19 -0
  2. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/CHANGELOG.md +179 -1
  3. smelt_cli-0.9.0/CLAUDE.md +16 -0
  4. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/CONTRIBUTING.md +53 -6
  5. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/Cargo.lock +1 -1
  6. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/Cargo.toml +1 -1
  7. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/PKG-INFO +3 -3
  8. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/README.md +2 -2
  9. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/integrations.md +4 -4
  10. {smelt_cli-0.7.0/smelt/skills/smelt/references → smelt_cli-0.9.0}/docs/rules/README.md +18 -0
  11. smelt_cli-0.9.0/docs/rules/SMT343.md +42 -0
  12. smelt_cli-0.9.0/docs/rules/SMT344.md +39 -0
  13. smelt_cli-0.9.0/docs/rules/SMT345.md +35 -0
  14. smelt_cli-0.9.0/docs/rules/SMT346.md +41 -0
  15. smelt_cli-0.9.0/docs/rules/SMT347.md +42 -0
  16. smelt_cli-0.9.0/docs/rules/SMT348.md +47 -0
  17. smelt_cli-0.9.0/docs/rules/SMT349.md +63 -0
  18. smelt_cli-0.9.0/docs/rules/SMT350.md +40 -0
  19. smelt_cli-0.9.0/docs/rules/SMT351.md +37 -0
  20. smelt_cli-0.9.0/docs/rules/SMT352.md +50 -0
  21. smelt_cli-0.9.0/docs/rules/SMT353.md +39 -0
  22. smelt_cli-0.9.0/docs/rules/SMT354.md +41 -0
  23. smelt_cli-0.9.0/docs/rules/SMT355.md +45 -0
  24. smelt_cli-0.9.0/docs/rules/SMT356.md +48 -0
  25. smelt_cli-0.9.0/docs/rules/SMT357.md +41 -0
  26. smelt_cli-0.9.0/docs/rules/SMT358.md +37 -0
  27. smelt_cli-0.9.0/docs/rules/SMT359.md +39 -0
  28. smelt_cli-0.9.0/docs/rules/SMT360.md +47 -0
  29. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/structure.md +56 -0
  30. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/upgrading.md +95 -0
  31. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/pyproject.toml +1 -1
  32. smelt_cli-0.9.0/smelt/analysis/bindings.py +127 -0
  33. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/cache.py +12 -7
  34. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/call_order.py +1 -1
  35. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/contracts.py +13 -1
  36. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/coverage.py +4 -4
  37. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/definition_blocks.py +5 -5
  38. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/discriminators.py +1 -1
  39. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/enum_values.py +1 -1
  40. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/facade_usage.py +4 -4
  41. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/files.py +126 -95
  42. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/function_usage.py +0 -2
  43. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/import_cache.py +1 -1
  44. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/imports.py +14 -7
  45. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/lazy_exports.py +4 -4
  46. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/literal_types.py +2 -2
  47. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/member_state.py +3 -2
  48. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/members.py +16 -12
  49. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/module_symbols.py +3 -3
  50. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/navigation.py +7 -4
  51. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/none_default_rewrite.py +4 -4
  52. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/none_defaults.py +1 -1
  53. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/ordering.py +12 -8
  54. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/ordering_rewrite.py +7 -5
  55. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/parsing.py +4 -5
  56. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/providers.py +8 -38
  57. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/python_version.py +1 -1
  58. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/retained.py +11 -10
  59. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/settings.py +7 -46
  60. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/syntax.py +2 -2
  61. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_deadlines.py +2 -1
  62. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_helpers.py +1 -0
  63. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_subprocesses.py +1 -0
  64. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_syntax.py +31 -16
  65. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_timing.py +3 -3
  66. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/type_dispatch.py +2 -2
  67. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/app.py +9 -9
  68. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/commands/adopt.py +6 -6
  69. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/commands/check.py +5 -4
  70. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/session.py +4 -1
  71. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/support.py +1 -1
  72. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/composition.py +17 -14
  73. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/models.py +84 -0
  74. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/debt.py +3 -3
  75. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/dedupe.py +2 -2
  76. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/render/machine.py +9 -8
  77. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/render/text.py +2 -2
  78. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/report.py +1 -1
  79. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/suppressions.py +7 -12
  80. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/briefing.py +32 -5
  81. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/cache.py +1 -1
  82. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/changes.py +33 -33
  83. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/check.py +40 -19
  84. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/evaluation.py +1 -1
  85. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/git_source.py +4 -4
  86. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/inference.py +8 -7
  87. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/mirror_inference.py +1 -1
  88. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/native_git.py +3 -3
  89. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/none_default_fixes.py +1 -1
  90. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/ordering_fixes.py +21 -20
  91. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/result_cache.py +1 -1
  92. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/source_fixes.py +1 -1
  93. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/staged.py +1 -1
  94. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/model/architecture.py +1 -1
  95. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/activation.py +28 -0
  96. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/base.py +5 -3
  97. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/catalog.json +270 -0
  98. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/composition_root.py +1 -1
  99. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/cycles.py +21 -9
  100. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/fanout.py +3 -2
  101. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/features.py +6 -3
  102. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/interfaces.py +1 -1
  103. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/layers.py +7 -3
  104. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/third_party.py +1 -1
  105. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/groups.py +1 -1
  106. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/registry.py +18 -0
  107. smelt_cli-0.9.0/smelt/rules/structure/aliases.py +165 -0
  108. smelt_cli-0.9.0/smelt/rules/structure/annotation_quotes.py +157 -0
  109. smelt_cli-0.9.0/smelt/rules/structure/broad_excepts.py +202 -0
  110. smelt_cli-0.9.0/smelt/rules/structure/conditional_expressions.py +80 -0
  111. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/context_managers.py +4 -10
  112. smelt_cli-0.9.0/smelt/rules/structure/dataclass_options.py +187 -0
  113. smelt_cli-0.9.0/smelt/rules/structure/delegates.py +246 -0
  114. smelt_cli-0.9.0/smelt/rules/structure/domain_exceptions.py +213 -0
  115. smelt_cli-0.9.0/smelt/rules/structure/duplicate_class_names.py +125 -0
  116. smelt_cli-0.9.0/smelt/rules/structure/duplicate_functions.py +171 -0
  117. smelt_cli-0.9.0/smelt/rules/structure/duration_literals.py +150 -0
  118. smelt_cli-0.9.0/smelt/rules/structure/duration_units.py +197 -0
  119. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/enum_styles.py +14 -14
  120. smelt_cli-0.9.0/smelt/rules/structure/frozen_collections.py +117 -0
  121. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/import_style.py +6 -1
  122. smelt_cli-0.9.0/smelt/rules/structure/interface_docstrings.py +166 -0
  123. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/layout.py +5 -2
  124. smelt_cli-0.9.0/smelt/rules/structure/narrowing_asserts.py +185 -0
  125. smelt_cli-0.9.0/smelt/rules/structure/parameters.py +154 -0
  126. smelt_cli-0.9.0/smelt/rules/structure/project_bases.py +118 -0
  127. smelt_cli-0.9.0/smelt/rules/structure/stateful_dataclasses.py +288 -0
  128. smelt_cli-0.9.0/smelt/rules/structure/tuples.py +149 -0
  129. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/location.py +12 -9
  130. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/SKILL.md +10 -0
  131. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/CHANGELOG.md +179 -1
  132. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/README.md +2 -2
  133. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/integrations.md +4 -4
  134. {smelt_cli-0.7.0 → smelt_cli-0.9.0/smelt/skills/smelt/references}/docs/rules/README.md +18 -0
  135. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT343.md +42 -0
  136. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT344.md +39 -0
  137. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT345.md +35 -0
  138. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT346.md +41 -0
  139. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT347.md +42 -0
  140. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT348.md +47 -0
  141. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT349.md +63 -0
  142. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT350.md +40 -0
  143. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT351.md +37 -0
  144. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT352.md +50 -0
  145. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT353.md +39 -0
  146. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT354.md +41 -0
  147. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT355.md +45 -0
  148. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT356.md +48 -0
  149. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT357.md +41 -0
  150. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT358.md +37 -0
  151. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT359.md +39 -0
  152. smelt_cli-0.9.0/smelt/skills/smelt/references/docs/rules/SMT360.md +47 -0
  153. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/structure.md +56 -0
  154. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/upgrading.md +95 -0
  155. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt.schema.json +1368 -194
  156. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt.yml +21 -3
  157. smelt_cli-0.9.0/tests/analysis/test_bindings.py +124 -0
  158. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_deadlines.py +1 -1
  159. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/config/test_validation.py +13 -0
  160. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/test_suppressions.py +1 -3
  161. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_briefing.py +114 -0
  162. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_changes.py +2 -2
  163. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_ordering_fixes.py +16 -16
  164. smelt_cli-0.9.0/tests/rules/structure/test_aliases.py +133 -0
  165. smelt_cli-0.9.0/tests/rules/structure/test_annotation_quotes.py +159 -0
  166. smelt_cli-0.9.0/tests/rules/structure/test_broad_excepts.py +218 -0
  167. smelt_cli-0.9.0/tests/rules/structure/test_conditional_expressions.py +100 -0
  168. smelt_cli-0.9.0/tests/rules/structure/test_dataclass_options.py +220 -0
  169. smelt_cli-0.9.0/tests/rules/structure/test_delegates.py +182 -0
  170. smelt_cli-0.9.0/tests/rules/structure/test_domain_exceptions.py +204 -0
  171. smelt_cli-0.9.0/tests/rules/structure/test_duplicate_class_names.py +162 -0
  172. smelt_cli-0.9.0/tests/rules/structure/test_duplicate_functions.py +190 -0
  173. smelt_cli-0.9.0/tests/rules/structure/test_duration_literals.py +142 -0
  174. smelt_cli-0.9.0/tests/rules/structure/test_duration_units.py +130 -0
  175. smelt_cli-0.9.0/tests/rules/structure/test_frozen_collections.py +134 -0
  176. smelt_cli-0.9.0/tests/rules/structure/test_interface_docstrings.py +170 -0
  177. smelt_cli-0.9.0/tests/rules/structure/test_narrowing_asserts.py +156 -0
  178. smelt_cli-0.9.0/tests/rules/structure/test_parameters.py +169 -0
  179. smelt_cli-0.9.0/tests/rules/structure/test_project_bases.py +186 -0
  180. smelt_cli-0.9.0/tests/rules/structure/test_stateful_dataclasses.py +222 -0
  181. smelt_cli-0.9.0/tests/rules/structure/test_tuples.py +110 -0
  182. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/uv.lock +2 -2
  183. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.editorconfig +0 -0
  184. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.gitattributes +0 -0
  185. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.github/dependabot.yml +0 -0
  186. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.github/pull_request_template.md +0 -0
  187. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.github/workflows/ci.yml +0 -0
  188. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.github/workflows/release.yml +0 -0
  189. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.gitignore +0 -0
  190. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.pre-commit-config.yml +0 -0
  191. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.pre-commit-hooks.yaml +0 -0
  192. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/.python-version +0 -0
  193. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/README.md +0 -0
  194. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/adoption.md +0 -0
  195. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/agent-workflow.md +0 -0
  196. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/architecture.md +0 -0
  197. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/file-naming-2026-11-04.json +0 -0
  198. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/incremental-followup-2026-10-31.json +0 -0
  199. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/literal-types-dense-2026-11-08.json +0 -0
  200. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/literal-types-sparse-2026-11-08.json +0 -0
  201. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/native-checks-2026-10-31.json +0 -0
  202. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/native-git-retained-state-2026-10-31.json +0 -0
  203. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/precommit-performance-2026-10-30.json +0 -0
  204. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/review-feedback-2026-10-31.json +0 -0
  205. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/staged-checks-2026-10-30.json +0 -0
  206. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/benchmarks/staged-policy-cache-2026-10-31.json +0 -0
  207. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/cli.md +0 -0
  208. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/configuration.md +0 -0
  209. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/facade-export-evaluation.json +0 -0
  210. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/proposals/config-structure.md +0 -0
  211. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/review.md +0 -0
  212. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rule-selection.md +0 -0
  213. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT101.md +0 -0
  214. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT102.md +0 -0
  215. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT103.md +0 -0
  216. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT104.md +0 -0
  217. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT105.md +0 -0
  218. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT106.md +0 -0
  219. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT107.md +0 -0
  220. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT108.md +0 -0
  221. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT109.md +0 -0
  222. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT301.md +0 -0
  223. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT302.md +0 -0
  224. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT305.md +0 -0
  225. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT306.md +0 -0
  226. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT307.md +0 -0
  227. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT308.md +0 -0
  228. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT309.md +0 -0
  229. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT310.md +0 -0
  230. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT311.md +0 -0
  231. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT312.md +0 -0
  232. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT313.md +0 -0
  233. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT314.md +0 -0
  234. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT315.md +0 -0
  235. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT316.md +0 -0
  236. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT317.md +0 -0
  237. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT318.md +0 -0
  238. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT319.md +0 -0
  239. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT320.md +0 -0
  240. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT321.md +0 -0
  241. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT322.md +0 -0
  242. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT323.md +0 -0
  243. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT324.md +0 -0
  244. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT325.md +0 -0
  245. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT326.md +0 -0
  246. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT327.md +0 -0
  247. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT328.md +0 -0
  248. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT329.md +0 -0
  249. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT330.md +0 -0
  250. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT331.md +0 -0
  251. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT332.md +0 -0
  252. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT333.md +0 -0
  253. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT334.md +0 -0
  254. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT335.md +0 -0
  255. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT336.md +0 -0
  256. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT337.md +0 -0
  257. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT338.md +0 -0
  258. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT339.md +0 -0
  259. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT340.md +0 -0
  260. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT341.md +0 -0
  261. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT342.md +0 -0
  262. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT401.md +0 -0
  263. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT420.md +0 -0
  264. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT421.md +0 -0
  265. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT422.md +0 -0
  266. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT423.md +0 -0
  267. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT424.md +0 -0
  268. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT425.md +0 -0
  269. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT426.md +0 -0
  270. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT427.md +0 -0
  271. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT428.md +0 -0
  272. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT429.md +0 -0
  273. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT430.md +0 -0
  274. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT431.md +0 -0
  275. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT901.md +0 -0
  276. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT902.md +0 -0
  277. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/rules/SMT903.md +0 -0
  278. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/test-quality-evaluation.json +0 -0
  279. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/testing.md +0 -0
  280. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/docs/vision.md +0 -0
  281. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/native/git.rs +0 -0
  282. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/native/main.rs +0 -0
  283. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/native/worker.rs +0 -0
  284. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/benchmark_checks.py +0 -0
  285. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/benchmark_file_naming.py +0 -0
  286. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/benchmark_hooks.py +0 -0
  287. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/benchmark_literal_types.py +0 -0
  288. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/benchmark_session.py +0 -0
  289. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/build_manylinux_wheel.sh +0 -0
  290. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/evaluate.py +0 -0
  291. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/generate.py +0 -0
  292. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/scripts/smoke_distribution.py +0 -0
  293. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/__init__.py +0 -0
  294. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/__main__.py +0 -0
  295. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/__init__.py +0 -0
  296. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/annotations.py +0 -0
  297. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/context.py +0 -0
  298. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/errors.py +0 -0
  299. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/exports.py +0 -0
  300. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/graphs.py +0 -0
  301. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/identity.py +0 -0
  302. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/literals.py +0 -0
  303. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/module_access.py +0 -0
  304. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/package_exports.py +0 -0
  305. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_awaits.py +0 -0
  306. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_cases.py +0 -0
  307. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/test_outcomes.py +0 -0
  308. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/typing_bindings.py +0 -0
  309. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/analysis/workspace.py +0 -0
  310. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/__init__.py +0 -0
  311. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/commands/__init__.py +0 -0
  312. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/commands/discover.py +0 -0
  313. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/commands/info.py +0 -0
  314. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/commands/skill.py +0 -0
  315. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/cli/session_slots.py +0 -0
  316. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/__init__.py +0 -0
  317. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/discovery.py +0 -0
  318. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/errors.py +0 -0
  319. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/loader.py +0 -0
  320. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/patterns.py +0 -0
  321. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/schema.py +0 -0
  322. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/source.py +0 -0
  323. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/config/validation.py +0 -0
  324. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/__init__.py +0 -0
  325. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/groups.py +0 -0
  326. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/render/__init__.py +0 -0
  327. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/diagnostics/violation.py +0 -0
  328. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/docs.py +0 -0
  329. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/__init__.py +0 -0
  330. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/coverage.py +0 -0
  331. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/file_checks.py +0 -0
  332. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/paths.py +0 -0
  333. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/rule_settings.py +0 -0
  334. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/schema.py +0 -0
  335. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/engine/workspace.py +0 -0
  336. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/model/__init__.py +0 -0
  337. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/py.typed +0 -0
  338. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/__init__.py +0 -0
  339. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/common.py +1 -1
  340. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/__init__.py +0 -0
  341. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/dependencies/facades.py +0 -0
  342. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/member_names.py +0 -0
  343. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/meta.py +0 -0
  344. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/__init__.py +0 -0
  345. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/assignments.py +0 -0
  346. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/attributes.py +0 -0
  347. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/awaited_arguments.py +0 -0
  348. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/call_order.py +0 -0
  349. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/callables.py +0 -0
  350. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/constants.py +0 -0
  351. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/contracts.py +0 -0
  352. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/coverage.py +0 -0
  353. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/discriminators.py +0 -0
  354. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/enum_values.py +0 -0
  355. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/exports.py +0 -0
  356. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/file_naming.py +0 -0
  357. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/headers.py +0 -0
  358. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/literal_types.py +0 -0
  359. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/members.py +0 -0
  360. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/module_symbols.py +0 -0
  361. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/naming.py +0 -0
  362. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/navigation.py +0 -0
  363. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/none_defaults.py +0 -0
  364. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/ordering.py +0 -0
  365. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/package_imports.py +0 -0
  366. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/private_symbols.py +0 -0
  367. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/providers.py +0 -0
  368. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/settings.py +0 -0
  369. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/structure/type_dispatch.py +0 -0
  370. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/__init__.py +0 -0
  371. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/awaits.py +0 -0
  372. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/cases.py +0 -0
  373. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/mocking.py +0 -0
  374. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/outcomes.py +0 -0
  375. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/private_access.py +0 -0
  376. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/public_attributes.py +0 -0
  377. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/public_functions.py +0 -0
  378. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/randomness.py +0 -0
  379. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/rules/testing/timing.py +0 -0
  380. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/adoption.md +0 -0
  381. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/architecture.md +0 -0
  382. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/cli.md +0 -0
  383. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/configuration.md +0 -0
  384. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rule-selection.md +0 -0
  385. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT101.md +0 -0
  386. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT102.md +0 -0
  387. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT103.md +0 -0
  388. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT104.md +0 -0
  389. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT105.md +0 -0
  390. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT106.md +0 -0
  391. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT107.md +0 -0
  392. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT108.md +0 -0
  393. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT109.md +0 -0
  394. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT301.md +0 -0
  395. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT302.md +0 -0
  396. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT305.md +0 -0
  397. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT306.md +0 -0
  398. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT307.md +0 -0
  399. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT308.md +0 -0
  400. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT309.md +0 -0
  401. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT310.md +0 -0
  402. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT311.md +0 -0
  403. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT312.md +0 -0
  404. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT313.md +0 -0
  405. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT314.md +0 -0
  406. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT315.md +0 -0
  407. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT316.md +0 -0
  408. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT317.md +0 -0
  409. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT318.md +0 -0
  410. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT319.md +0 -0
  411. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT320.md +0 -0
  412. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT321.md +0 -0
  413. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT322.md +0 -0
  414. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT323.md +0 -0
  415. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT324.md +0 -0
  416. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT325.md +0 -0
  417. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT326.md +0 -0
  418. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT327.md +0 -0
  419. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT328.md +0 -0
  420. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT329.md +0 -0
  421. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT330.md +0 -0
  422. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT331.md +0 -0
  423. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT332.md +0 -0
  424. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT333.md +0 -0
  425. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT334.md +0 -0
  426. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT335.md +0 -0
  427. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT336.md +0 -0
  428. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT337.md +0 -0
  429. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT338.md +0 -0
  430. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT339.md +0 -0
  431. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT340.md +0 -0
  432. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT341.md +0 -0
  433. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT342.md +0 -0
  434. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT401.md +0 -0
  435. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT420.md +0 -0
  436. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT421.md +0 -0
  437. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT422.md +0 -0
  438. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT423.md +0 -0
  439. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT424.md +0 -0
  440. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT425.md +0 -0
  441. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT426.md +0 -0
  442. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT427.md +0 -0
  443. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT428.md +0 -0
  444. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT429.md +0 -0
  445. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT430.md +0 -0
  446. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT431.md +0 -0
  447. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT901.md +0 -0
  448. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT902.md +0 -0
  449. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/rules/SMT903.md +0 -0
  450. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/smelt/skills/smelt/references/docs/testing.md +0 -0
  451. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/__init__.py +0 -0
  452. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/__init__.py +0 -0
  453. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_annotations.py +0 -0
  454. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_context.py +0 -0
  455. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_contracts.py +0 -0
  456. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_enum_values.py +0 -0
  457. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_exports.py +0 -0
  458. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_identity.py +0 -0
  459. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_lazy_exports.py +0 -0
  460. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_module_symbols.py +0 -0
  461. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_none_default_rewrite.py +0 -0
  462. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_none_defaults.py +0 -0
  463. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_ordering.py +0 -0
  464. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_ordering_rewrite.py +0 -0
  465. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_parsing.py +0 -0
  466. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_python_version.py +0 -0
  467. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_retained.py +0 -0
  468. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_awaits.py +0 -0
  469. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_cases.py +0 -0
  470. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_helpers.py +0 -0
  471. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_outcomes.py +0 -0
  472. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_syntax.py +0 -0
  473. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_test_timing.py +0 -0
  474. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_type_dispatch.py +0 -0
  475. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/analysis/test_workspace.py +0 -0
  476. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/__init__.py +0 -0
  477. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/commands/__init__.py +0 -0
  478. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/commands/test_adopt.py +0 -0
  479. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/commands/test_info.py +0 -0
  480. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/commands/test_skill.py +0 -0
  481. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/test_app.py +0 -0
  482. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/test_session.py +0 -0
  483. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/cli/test_session_slots.py +0 -0
  484. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/config/__init__.py +0 -0
  485. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/config/test_composition.py +0 -0
  486. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/config/test_loader.py +0 -0
  487. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/__init__.py +0 -0
  488. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/render/__init__.py +0 -0
  489. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/render/conftest.py +0 -0
  490. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/render/test_machine.py +0 -0
  491. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/render/test_text.py +0 -0
  492. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/test_debt.py +0 -0
  493. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/diagnostics/test_groups.py +0 -0
  494. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/__init__.py +0 -0
  495. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_cache.py +0 -0
  496. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_check.py +0 -0
  497. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_coverage.py +0 -0
  498. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_evaluation.py +0 -0
  499. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_file_checks.py +0 -0
  500. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_inference.py +0 -0
  501. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_mirror_inference.py +0 -0
  502. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_native_git.py +0 -0
  503. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_none_default_fixes.py +0 -0
  504. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_paths.py +0 -0
  505. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_rule_settings.py +0 -0
  506. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_schema.py +0 -0
  507. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_source_fixes.py +0 -0
  508. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/engine/test_staged.py +0 -0
  509. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/smelt.yml +0 -0
  510. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/__init__.py +0 -0
  511. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/bootstrap.py +0 -0
  512. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/__init__.py +0 -0
  513. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/__init__.py +0 -0
  514. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/application/__init__.py +0 -0
  515. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/application/invoices.py +0 -0
  516. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/domain/__init__.py +0 -0
  517. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/billing/domain/money.py +0 -0
  518. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/__init__.py +0 -0
  519. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/api/__init__.py +0 -0
  520. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/api/routes.py +0 -0
  521. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/application/__init__.py +0 -0
  522. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/application/ports.py +0 -0
  523. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/application/session.py +0 -0
  524. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/domain/__init__.py +0 -0
  525. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/domain/session.py +0 -0
  526. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/infra/__init__.py +0 -0
  527. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/features/voice/infra/sql.py +0 -0
  528. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/main.py +0 -0
  529. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/shared/__init__.py +0 -0
  530. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/fixtures/gateway/src/gateway/shared/clock.py +0 -0
  531. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/helpers.py +0 -0
  532. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/model/__init__.py +0 -0
  533. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/model/test_architecture.py +0 -0
  534. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/__init__.py +0 -0
  535. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/__init__.py +0 -0
  536. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_composition_root.py +0 -0
  537. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_cycles.py +0 -0
  538. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_facades.py +0 -0
  539. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_fanout.py +0 -0
  540. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_features.py +0 -0
  541. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_interfaces.py +0 -0
  542. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_layers.py +0 -0
  543. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/dependencies/test_third_party.py +0 -0
  544. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/__init__.py +0 -0
  545. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_assignments.py +0 -0
  546. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_attributes.py +0 -0
  547. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_awaited_arguments.py +0 -0
  548. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_call_order.py +0 -0
  549. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_callables.py +0 -0
  550. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_constants.py +0 -0
  551. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_context_managers.py +0 -0
  552. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_contracts.py +0 -0
  553. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_coverage.py +0 -0
  554. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_discriminators.py +0 -0
  555. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_enum_styles.py +0 -0
  556. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_enum_values.py +0 -0
  557. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_exports.py +0 -0
  558. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_file_naming.py +0 -0
  559. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_headers.py +0 -0
  560. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_import_style.py +0 -0
  561. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_layout.py +0 -0
  562. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_literal_types.py +0 -0
  563. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_members.py +0 -0
  564. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_module_symbols.py +0 -0
  565. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_naming.py +0 -0
  566. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_navigation.py +0 -0
  567. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_none_defaults.py +0 -0
  568. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_ordering.py +0 -0
  569. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_package_imports.py +0 -0
  570. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_private_symbols.py +0 -0
  571. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_providers.py +0 -0
  572. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_settings.py +0 -0
  573. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/structure/test_type_dispatch.py +0 -0
  574. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/test_activation.py +0 -0
  575. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/test_member_names.py +0 -0
  576. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/test_registry.py +0 -0
  577. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/__init__.py +0 -0
  578. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_awaits.py +0 -0
  579. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_cases.py +0 -0
  580. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_location.py +0 -0
  581. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_mocking.py +0 -0
  582. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_outcomes.py +0 -0
  583. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_private_access.py +0 -0
  584. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_public_attributes.py +0 -0
  585. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_public_functions.py +0 -0
  586. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_randomness.py +0 -0
  587. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/rules/testing/test_timing.py +0 -0
  588. {smelt_cli-0.7.0 → smelt_cli-0.9.0}/tests/test_docs.py +0 -0
@@ -0,0 +1,19 @@
1
+ # Working on Smelt
2
+
3
+ Read [CONTRIBUTING.md](CONTRIBUTING.md) for architecture, rule naming, testing
4
+ and release requirements. Use the bundled
5
+ [Smelt skill](smelt/skills/smelt/SKILL.md) for checker commands and policy repairs.
6
+
7
+ - Before creating or moving code, run `uv run smelt context <module-or-path>`.
8
+ - Follow `smelt.yml`, including the package's positional-parameter limit and
9
+ explicit serialized enum values. Review hints using the rule's inference limits.
10
+ - Edit original guides and rule metadata, then run
11
+ `uv run python scripts/generate.py`. Never edit generated rule pages or skill
12
+ references by hand.
13
+ - Run `uv run smelt check --changed --base origin/main --fail-on warning` while
14
+ reviewing the branch and `uv run smelt check --staged --fail-on warning` for
15
+ the commit. Policy changes also require a full strict-coverage check.
16
+ - Run the relevant tests, `uv run prek run --all-files` and
17
+ `uv run ruff format --check .` before pushing. Release preparation also requires
18
+ the full test suite, generated-file drift check and distribution smoke tests.
19
+ - Do not accept debt or weaken checks merely to obtain a passing result.
@@ -7,6 +7,182 @@ 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
+
130
+ ## [0.8.0] - 2026-11-14
131
+
132
+ Report schema 2, YAML version 1, grouped debt baseline version 2, the default
133
+ rule set and exit codes remain unchanged. SMT343/SMT344/SMT346/SMT347 are opt-in;
134
+ SMT345 activates through an explicit package limit. All five reviews require
135
+ manual repairs. Update installation, hook and CI pins together to `0.8.0`
136
+ (`v0.8.0`), refresh the editor schema and reinstall the bundled agent skill with
137
+ `smelt skill install --force`. No baseline rewrite is required. See the
138
+ [upgrade checklist](docs/upgrading.md#070-to-080).
139
+
140
+ - Optional style review [SMT346](docs/rules/SMT346.md)
141
+ `prefer-deferred-annotations` reports modules that quote annotations such as
142
+ `list["Tab"]`. With the annotations future import or a declared Python 3.14+
143
+ minimum the quotes are redundant; otherwise the hint suggests adding
144
+ `from __future__ import annotations`. A `future_annotations: forbid` package
145
+ contract keeps quotes before 3.14. `Literal` values, `Annotated` metadata,
146
+ runtime strings such as `cast("Tab", ...)` and tests are ignored. Enable it
147
+ with `rules: {prefer-deferred-annotations: hint}`; no automatic rewrite.
148
+ Implements [#123](https://github.com/mathisarends/smelt/issues/123).
149
+
150
+ - Optional review [SMT347](docs/rules/SMT347.md) `anonymous-tuple-type`
151
+ reports fixed-length tuple types in annotations and type aliases with three
152
+ or more elements or a repeated element type, such as
153
+ `dict[UUID, tuple[UUID, UUID, Connection]]`, and suggests a `NamedTuple` or
154
+ frozen dataclass. `tuple[X, ...]`, two distinct element types, quoted
155
+ annotations, dunder/`@override`/`@overload` signatures and tests are not
156
+ reported. Enable it with `rules: {anonymous-tuple-type: hint}`; no automatic
157
+ rewrite. Implements part of
158
+ [#121](https://github.com/mathisarends/smelt/issues/121).
159
+
160
+ - Optional review [SMT344](docs/rules/SMT344.md) `redundant-name-alias` reports
161
+ a module-level name that only repeats another class or function name, such as
162
+ `AutofillData = PasswordData`, including `TypeAlias` and `type` statements.
163
+ Unions, subscripts, `Annotated`, constants, conditional fallbacks, typing
164
+ special forms and tests are not reported. Enable it with
165
+ `rules: {redundant-name-alias: hint}`; no automatic rewrite. Implements
166
+ [#120](https://github.com/mathisarends/smelt/issues/120).
167
+
168
+ - New package policy `max_positional_parameters` limits how many parameters a
169
+ function or method may accept positionally; later parameters must be
170
+ keyword-only. [SMT345](docs/rules/SMT345.md) `excess-positional-parameters`
171
+ reports violations (warning). `self`/`cls`, `*args`/`**kwargs`, dunder,
172
+ `@overload` and `@override` definitions and tests are not counted. Enable it
173
+ with `structure.contracts.<name>: {match: app, max_positional_parameters: 2}`;
174
+ `smelt context` shows the limit. No automatic rewrite. Implements
175
+ [#122](https://github.com/mathisarends/smelt/issues/122).
176
+
177
+ - Optional review [SMT343](docs/rules/SMT343.md) `redundant-private-delegate`
178
+ reports a method whose whole body returns a call to a private method of the
179
+ same class that receives every parameter unchanged and is used nowhere else,
180
+ such as `def events(...): return self._events(...)`. Validation before the
181
+ call, shared or decorated helpers, dunder methods, classes with bases from
182
+ other modules and tests are not reported. Enable it with
183
+ `rules: {redundant-private-delegate: hint}`; no automatic rewrite. Implements
184
+ [#119](https://github.com/mathisarends/smelt/issues/119).
185
+
10
186
  ## [0.7.0] - 2026-11-14
11
187
 
12
188
  Report schema 2, YAML version 1, grouped debt baseline version 2, the default
@@ -701,7 +877,9 @@ smelt explain SMT313 --format json
701
877
  - Import fanout, match suggestions and missing-assertion checks are review aids;
702
878
  their default severities differ. Configure policy and severity deliberately.
703
879
 
704
- [Unreleased]: https://github.com/mathisarends/smelt/compare/v0.7.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
882
+ [0.8.0]: https://github.com/mathisarends/smelt/compare/v0.7.0...v0.8.0
705
883
  [0.7.0]: https://github.com/mathisarends/smelt/compare/v0.6.0...v0.7.0
706
884
  [0.6.0]: https://github.com/mathisarends/smelt/compare/v0.5.0...v0.6.0
707
885
  [0.5.0]: https://github.com/mathisarends/smelt/compare/v0.4.0...v0.5.0
@@ -0,0 +1,16 @@
1
+ # smelt
2
+
3
+ Maintainer guide for agents. The full rules live in CONTRIBUTING.md:
4
+
5
+ @AGENTS.md
6
+
7
+ Points that are easy to get wrong:
8
+
9
+ - Name new rules after the finding with the qualifiers in "Rule names" in
10
+ CONTRIBUTING.md (`redundant-`, `missing-`, `forbidden-`, `excess-`,
11
+ `prefer-<alternative>`, ...). Never start a new name with `no-`,
12
+ `unnecessary-`, `review-`, `require-` or `check-`.
13
+ - Allocate codes from the live catalog (`uv run smelt rules --format json`) and
14
+ regenerate with `uv run python scripts/generate.py` after registering a rule.
15
+ - Run `uv run ruff format --check .` in addition to prek before pushing; CI
16
+ rejects unformatted files.
@@ -50,8 +50,20 @@ composes rules. Share a source fact through an analysis index when several rules
50
50
  need it; don't make one rule call another or hide policy decisions in parsing.
51
51
  Smelt checks these architecture boundaries with its own `smelt.yml`.
52
52
 
53
- The repository also enables public-first ordering, internal-member/static-helper
54
- visibility, test-only public functions/attributes and test-quality reviews. Future
53
+ The repository also enables public-first ordering, the complete
54
+ `information-hiding` group, static-helper visibility and test-quality reviews.
55
+ It checks private-symbol imports, redundant delegates/name aliases, deferred
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.
61
+ Functions accept at most three positional parameters; pass later arguments by
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
64
+ and anonymous tuple types remain hints: review their meaning before sharing an
65
+ alias or introducing a named record. Composite lookup keys, source spans and
66
+ Python version pairs can keep tuple semantics. Future
55
67
  annotations follow `when-needed` using the supported Python minimum in package
56
68
  metadata (currently 3.12), not the developer's interpreter. Keep imports needed for
57
69
  forward references, TYPE_CHECKING or runtime annotation consumers.
@@ -153,6 +165,28 @@ Use `Rule`, a stable code, a unique kebab-case name, a category, explicit
153
165
  | SMT4xx | tests (directory `testing/`) |
154
166
  | SMT9xx | meta, evaluated by engine post-processing where appropriate |
155
167
 
168
+ ### Rule names
169
+
170
+ A rule name describes the finding, not the command that would fix it. Use
171
+ kebab-case `<qualifier>-<subject>` and reuse the qualifier whose meaning matches:
172
+
173
+ | Qualifier | Meaning | Examples |
174
+ | --- | --- | --- |
175
+ | `redundant-` | Removing or inlining it keeps the behavior | `redundant-name-alias`, `redundant-private-delegate` |
176
+ | `missing-` | Something required is absent | `missing-module-docstring`, `missing-required-module` |
177
+ | `forbidden-` | A configured policy rejects something present | `forbidden-package-name`, `forbidden-test-mock` |
178
+ | `excess-` | A configured limit is exceeded | `excess-positional-parameters` |
179
+ | `duplicate-`, `unused-`, `deprecated-` | Their plain meaning | `duplicate-literal-type`, `unused-suppression` |
180
+ | `prefer-` | The code is valid; the rule recommends a named alternative | `prefer-package-import`, `prefer-deferred-annotations` |
181
+
182
+ Use `prefer-<alternative>` only when the reported construct is correct and the
183
+ rule recommends one specific replacement; name the replacement, not the reported
184
+ form. When no qualifier fits, use a noun phrase for the problem itself, such as
185
+ `import-cycle` or `deep-object-navigation`. Do not start new names with `no-`
186
+ (use `forbidden-`), `unnecessary-` (use `redundant-`), or `review-`, `require-`
187
+ and `check-`. Older names such as `no-private-modules` and
188
+ `unnecessary-future-annotations` predate this scheme and stay stable.
189
+
156
190
  Run `uv run smelt rules --format json` before allocating. Gaps are not promises
157
191
  that a historical code is reusable; check history, and never repurpose a published
158
192
  code or name. Reconcile allocations when concurrent PRs introduce rules.
@@ -296,13 +330,13 @@ environment name must match the workflow exactly.
296
330
  run `uv lock` and `cargo check` to refresh both lockfiles, and merge the release
297
331
  preparation into `main` after CI passes. Each release needs a new PyPI version.
298
332
  2. From an up-to-date, clean `main` checkout, create and push the corresponding tag.
299
- For example, after merging version `0.7.0`:
333
+ For example, after merging version `0.8.0`:
300
334
 
301
335
  ```bash
302
336
  git switch main
303
337
  git pull --ff-only
304
- git tag v0.7.0
305
- git push origin v0.7.0
338
+ git tag v0.8.0
339
+ git push origin v0.8.0
306
340
  ```
307
341
 
308
342
  3. Follow the `Publish to PyPI` run in
@@ -317,6 +351,19 @@ environment name must match the workflow exactly.
317
351
  cross-compiled. A separate job downloads the validated release artifacts and publishes them
318
352
  with OIDC and the publishing action's default attestations enabled.
319
353
 
354
+ 4. After PyPI publication succeeds, publish the GitHub Release for the same tag.
355
+ Copy that version's dated changelog section into a release-notes file and
356
+ replace relative documentation links with absolute links to `blob/v0.8.0/`.
357
+ Check `gh release view v0.8.0` first; create a missing release with:
358
+
359
+ ```bash
360
+ gh release create v0.8.0 --verify-tag --title 'Smelt 0.8.0' --notes-file release-notes.md
361
+ ```
362
+
363
+ The publishing workflow currently uploads to PyPI only. A missing GitHub
364
+ Release can be added for an existing published tag; new code needs a new
365
+ version and tag. Do not move a published tag or reuse its PyPI version.
366
+
320
367
  Both Linux release wheels use `scripts/build_manylinux_wheel.sh` in the
321
368
  PyPA manylinux 2.28 container (x86_64) or the rust-cross manylinux 2.28 container
322
369
  (ARM64). The script installs pinned `maturin[patchelf]` from PyPI,
@@ -329,7 +376,7 @@ script when adopting a new build-tool version.
329
376
  Maintainers and coding agents with permission to push release tags can use this
330
377
  procedure without local PyPI credentials. Ordinary branch pushes and pull requests
331
378
  do not publish. Manual workflow runs must select an existing `v`-prefixed tag
332
- (`gh workflow run release.yml --ref v0.7.0`); branch runs skip publishing.
379
+ (`gh workflow run release.yml --ref v0.8.0`); branch runs skip publishing.
333
380
 
334
381
  If the upload fails because account configuration is missing, finish that setup
335
382
  and rerun the failed publishing job so it reuses the validated build artifacts.
@@ -1380,7 +1380,7 @@ checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
1380
1380
 
1381
1381
  [[package]]
1382
1382
  name = "smelt-cli"
1383
- version = "0.7.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.7.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.7.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.7.0? Follow the [upgrade checklist](docs/upgrading.md#060-to-070)
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.7.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.7.0? Follow the [upgrade checklist](docs/upgrading.md#060-to-070)
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.7.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.7.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.7.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.7.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.7.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
@@ -51,6 +51,24 @@
51
51
  | [SMT340](SMT340.md) | await-in-call-argument | structure | explicit | hint |
52
52
  | [SMT341](SMT341.md) | str-enum-auto-values | structure | explicit | hint |
53
53
  | [SMT342](SMT342.md) | str-enum-explicit-values | structure | explicit | hint |
54
+ | [SMT343](SMT343.md) | redundant-private-delegate | structure | explicit | hint |
55
+ | [SMT344](SMT344.md) | redundant-name-alias | structure | explicit | hint |
56
+ | [SMT345](SMT345.md) | excess-positional-parameters | structure | policy | warning |
57
+ | [SMT346](SMT346.md) | prefer-deferred-annotations | structure | explicit | hint |
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 |
54
72
  | [SMT401](SMT401.md) | test-location | tests | policy | error |
55
73
  | [SMT420](SMT420.md) | private-test-access | tests | explicit | error |
56
74
  | [SMT421](SMT421.md) | forbidden-test-mock | tests | policy | error |
@@ -0,0 +1,42 @@
1
+ # SMT343 redundant-private-delegate
2
+
3
+ A method only forwards its parameters to a private method used nowhere else.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ def events(self, *, run_id): return self._events(run_id=run_id) adds a second name and a jump without behavior: calling an async generator already defers its body until iteration, so moving the body into events behaves the same. Validation before the call is the legitimate reason for the split, so only a body consisting of one return is reported. The private method must be an undecorated method of the same class with the same parameter names and kinds, receive every parameter unchanged, and be referenced nowhere else in the module. Dunder and decorated methods, private names defined twice, classes with bases from other modules (a base may call the private hook) and tests are not reported. Subclasses in other modules that override the private method are not analyzed.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ class Frames:
17
+ def events(self, *, run_id: UUID) -> AsyncGenerator[Frame]:
18
+ return self._events(run_id=run_id)
19
+
20
+ async def _events(self, *, run_id: UUID) -> AsyncGenerator[Frame]:
21
+ async for frame in self._source(run_id):
22
+ yield frame
23
+ ```
24
+
25
+ ## Good
26
+
27
+ ```python
28
+ class Frames:
29
+ async def events(self, *, run_id: UUID) -> AsyncGenerator[Frame]:
30
+ async for frame in self._source(run_id):
31
+ yield frame
32
+ ```
33
+
34
+ ## How to fix
35
+
36
+ Move the private method's body and async/def kind into the public method, keep the public name, signature and docstring, and delete the private method. Keep the split with a reasoned suppression when a subclass overrides the private method. No automatic rewrite is performed. Enable rules: {redundant-private-delegate: hint}, or select SMT343.
37
+
38
+ ## Config
39
+
40
+ - `rules`
41
+
42
+ Explain it in the terminal with `smelt explain SMT343`.
@@ -0,0 +1,39 @@
1
+ # SMT344 redundant-name-alias
2
+
3
+ A module-level name only repeats another class or function name.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ Two names for one class or function make readers and agents ask whether they differ, and grep finds only half of the uses. Such aliases are typically compatibility names left behind by a rename or placeholders for a union that never gained a second member. This opt-in review reports unconditional module-level X = Y, X: TypeAlias = Y and type X = Y statements whose right side is a bare name or dotted attribute that refers to a class or function defined in the same module, or to an imported CapWords name. Type expressions such as unions, subscripts and Annotated, values such as constants, conditional assignments (version or import fallbacks), class-level names, typing special forms such as Any and tests are not reported.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ class PasswordData(BaseModel):
17
+ username: str
18
+
19
+ AutofillData = PasswordData
20
+ ```
21
+
22
+ ## Good
23
+
24
+ ```python
25
+ class PasswordData(BaseModel):
26
+ username: str
27
+
28
+ type AutofillData = PasswordData | CardData
29
+ ```
30
+
31
+ ## How to fix
32
+
33
+ Use the target name everywhere and remove the alias. Introduce a shared name once it describes a real type expression, such as a union with a second member. Keep a deliberate public compatibility name with a reasoned suppression. No automatic rewrite is performed. Enable rules: {redundant-name-alias: hint}, or select SMT344.
34
+
35
+ ## Config
36
+
37
+ - `rules`
38
+
39
+ Explain it in the terminal with `smelt explain SMT344`.
@@ -0,0 +1,35 @@
1
+ # SMT345 excess-positional-parameters
2
+
3
+ A function accepts more positional parameters than its package allows.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** policy — A package contract sets max_positional_parameters, including zero.
7
+ - **Severity when active:** warning
8
+
9
+ ## Why
10
+
11
+ Call sites such as connect(user, run, tab, True) do not say which value is which, and swapping two arguments of the same type still type-checks. A package contract sets max_positional_parameters; parameters after that limit must be keyword-only so every call names them. self and cls are not counted, nor are *args and **kwargs. Dunder methods, @overload and @override definitions are exempt because their signatures are dictated elsewhere, and tests are not checked. Positional-only parameters count like any other positional parameter.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ def connect(user_id: UUID, run_id: UUID, tab_id: UUID) -> None:
17
+ ...
18
+ ```
19
+
20
+ ## Good
21
+
22
+ ```python
23
+ def connect(user_id: UUID, *, run_id: UUID, tab_id: UUID) -> None:
24
+ ...
25
+ ```
26
+
27
+ ## How to fix
28
+
29
+ Insert * after the last allowed positional parameter, then pass the remaining arguments by keyword at every call site. Callbacks whose positional signature is fixed by a framework keep it with a reasoned suppression. No automatic rewrite is performed. Enable it with a package contract, e.g. structure.contracts.<name>: {match: app, max_positional_parameters: 2}.
30
+
31
+ ## Config
32
+
33
+ - `structure.contracts`
34
+
35
+ Explain it in the terminal with `smelt explain SMT345`.
@@ -0,0 +1,41 @@
1
+ # SMT346 prefer-deferred-annotations
2
+
3
+ An annotation is quoted where deferred evaluation makes quotes unnecessary.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ Quoted annotations such as list["BrowserWorkspaceTab"] are invisible to rename refactorings, read differently from their neighbors and need a decision at every forward reference. One module-level from __future__ import annotations, or a declared Python 3.14+ minimum, defers every annotation instead. This opt-in style review reports one finding per module that quotes annotations of parameters, returns or annotated assignments: on 3.14+ targets or with the future import, the quotes are redundant; otherwise the module should add the future import. Strings inside Literal and Annotated metadata are values, not annotations, and are ignored, as are quoted names in runtime expressions such as cast() or TypeVar(bound=...). A package contract with future_annotations: forbid keeps quotes on targets before 3.14. Tests are not checked.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ class BrowserHandoff(ABC):
17
+ @abstractmethod
18
+ async def tabs(self) -> list["BrowserWorkspaceTab"]: ...
19
+ ```
20
+
21
+ ## Good
22
+
23
+ ```python
24
+ from __future__ import annotations
25
+
26
+ class BrowserHandoff(ABC):
27
+ @abstractmethod
28
+ async def tabs(self) -> list[BrowserWorkspaceTab]: ...
29
+ ```
30
+
31
+ ## How to fix
32
+
33
+ Remove the quotes; on targets before Python 3.14 add from __future__ import annotations first. The future import makes every annotation in the module a string at runtime, so verify runtime annotation consumers (dataclasses, Pydantic, FastAPI, dependency injection) and names imported only under TYPE_CHECKING. No automatic rewrite is performed. Enable rules: {prefer-deferred-annotations: hint}, or select SMT346.
34
+
35
+ ## Config
36
+
37
+ - `rules`
38
+ - `structure.contracts`
39
+ - `project.python_version`
40
+
41
+ Explain it in the terminal with `smelt explain SMT346`.
@@ -0,0 +1,42 @@
1
+ # SMT347 anonymous-tuple-type
2
+
3
+ A fixed-length tuple type leaves its fields unnamed.
4
+
5
+ - **Category:** structure
6
+ - **Activation:** explicit — Enable by rule setting or --select.
7
+ - **Severity when active:** hint
8
+
9
+ ## Why
10
+
11
+ dict[UUID, tuple[UUID, UUID, BrowserConnection]] does not say which UUID is which; readers decode entry[0] and entry[1] from call sites, and swapping them still type-checks. This opt-in review reports fixed-length tuple types in annotations and type aliases with three or more elements, or with an element type that repeats. Variadic tuple[X, ...], empty tuples, two different element types, quoted annotations, dunder/@override/@overload signatures (dictated elsewhere) and tests are not reported.
12
+
13
+ ## Bad
14
+
15
+ ```python
16
+ class Connections:
17
+ def __init__(self) -> None:
18
+ self._by_tab: dict[UUID, tuple[UUID, UUID, Connection]] = {}
19
+ ```
20
+
21
+ ## Good
22
+
23
+ ```python
24
+ class Route(NamedTuple):
25
+ user_id: UUID
26
+ run_id: UUID
27
+ connection: Connection
28
+
29
+ class Connections:
30
+ def __init__(self) -> None:
31
+ self._by_tab: dict[UUID, Route] = {}
32
+ ```
33
+
34
+ ## How to fix
35
+
36
+ Introduce a NamedTuple (keeps unpacking and indexing) or a frozen dataclass that names each field, and use it in place of the tuple. Keep a tuple whose shape an external API dictates with a reasoned suppression. No automatic rewrite is performed. Enable rules: {anonymous-tuple-type: hint}, or select SMT347.
37
+
38
+ ## Config
39
+
40
+ - `rules`
41
+
42
+ Explain it in the terminal with `smelt explain SMT347`.