unref 0.3.0__tar.gz → 0.3.2__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 (458) hide show
  1. unref-0.3.2/.github/ISSUE_TEMPLATE/bug_report.yml +61 -0
  2. unref-0.3.2/.github/ISSUE_TEMPLATE/config.yml +1 -0
  3. unref-0.3.2/.github/ISSUE_TEMPLATE/feature_request.yml +38 -0
  4. unref-0.3.2/.github/ISSUE_TEMPLATE/other.yml +18 -0
  5. {unref-0.3.0 → unref-0.3.2}/.github/workflows/ci.yml +57 -12
  6. unref-0.3.2/.github/workflows/publish-comparison.yml +60 -0
  7. {unref-0.3.0 → unref-0.3.2}/.github/workflows/release.yml +23 -6
  8. unref-0.3.2/.github/workflows/update-version.yml +46 -0
  9. {unref-0.3.0 → unref-0.3.2}/.github/workflows/util/setup_python/action.yml +1 -6
  10. unref-0.3.2/.github/zizmor.yml +5 -0
  11. {unref-0.3.0 → unref-0.3.2}/CONTRIBUTING.md +7 -1
  12. {unref-0.3.0 → unref-0.3.2}/Cargo.lock +31 -21
  13. {unref-0.3.0 → unref-0.3.2}/Cargo.toml +4 -3
  14. {unref-0.3.0 → unref-0.3.2}/PKG-INFO +3 -3
  15. {unref-0.3.0 → unref-0.3.2}/README.md +2 -2
  16. unref-0.3.2/assets/benchmark.svg +1 -0
  17. {unref-0.3.0 → unref-0.3.2}/docs/configuration.md +44 -117
  18. {unref-0.3.0 → unref-0.3.2}/docs/faq.md +1 -1
  19. unref-0.3.2/docs/frameworks.md +121 -0
  20. {unref-0.3.0 → unref-0.3.2}/docs/index.md +1 -1
  21. {unref-0.3.0 → unref-0.3.2}/docs/rules.md +5 -2
  22. {unref-0.3.0 → unref-0.3.2}/docs/usage.md +4 -3
  23. {unref-0.3.0 → unref-0.3.2}/linters/cspell/words.txt +9 -0
  24. {unref-0.3.0 → unref-0.3.2}/linters/ty.toml +1 -1
  25. {unref-0.3.0 → unref-0.3.2}/prek.toml +10 -3
  26. {unref-0.3.0 → unref-0.3.2}/pyproject.toml +12 -6
  27. unref-0.3.2/rust-toolchain.toml +3 -0
  28. {unref-0.3.0 → unref-0.3.2}/scripts/benchmark.py +5 -13
  29. {unref-0.3.0 → unref-0.3.2}/scripts/ecosystem.py +9 -1
  30. unref-0.3.2/scripts/set_version.py +63 -0
  31. {unref-0.3.0 → unref-0.3.2}/src/classes.rs +64 -5
  32. {unref-0.3.0 → unref-0.3.2}/src/config.rs +12 -0
  33. {unref-0.3.0 → unref-0.3.2}/src/definitions.rs +44 -13
  34. {unref-0.3.0 → unref-0.3.2}/src/discover.rs +169 -16
  35. {unref-0.3.0 → unref-0.3.2}/src/engine.rs +383 -131
  36. {unref-0.3.0 → unref-0.3.2}/src/external.rs +6 -9
  37. {unref-0.3.0 → unref-0.3.2}/src/files.rs +27 -1
  38. {unref-0.3.0 → unref-0.3.2}/src/frameworks.rs +32 -19
  39. {unref-0.3.0 → unref-0.3.2}/src/main.rs +140 -15
  40. {unref-0.3.0 → unref-0.3.2}/src/modules.rs +1 -2
  41. {unref-0.3.0 → unref-0.3.2}/src/references.rs +345 -85
  42. {unref-0.3.0 → unref-0.3.2}/src/symbols.rs +25 -7
  43. {unref-0.3.0 → unref-0.3.2}/src/transitive.rs +1 -1
  44. {unref-0.3.0 → unref-0.3.2}/tests/_cli/test_config.py +3 -4
  45. unref-0.3.2/tests/_cli/test_file_selection.py +213 -0
  46. {unref-0.3.0 → unref-0.3.2}/tests/_cli/test_general.py +18 -0
  47. unref-0.3.2/tests/cases/all_exports/all_exports_nested.py +28 -0
  48. unref-0.3.2/tests/cases/frameworks_flask/local_subclass.py +18 -0
  49. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/models.py +9 -0
  50. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/tests/test_module.py +29 -0
  51. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_unittest/checks.py +18 -0
  52. unref-0.3.2/tests/cases/frameworks_unittest/testsuite.py +24 -0
  53. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/formatting.py +6 -0
  54. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/helpers.py +10 -0
  55. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/helpers_module.py +6 -0
  56. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/json.py +2 -0
  57. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/library.py +5 -0
  58. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/run.py +11 -0
  59. unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/unreached.py +2 -0
  60. unref-0.3.2/tests/cases/member_receivers/member_abstract.py +74 -0
  61. unref-0.3.2/tests/cases/member_receivers/member_class_body.py +28 -0
  62. unref-0.3.2/tests/cases/package/pkg/sub/module.py +2 -0
  63. unref-0.3.2/tests/cases/same_name_classes/local_and_local.py +37 -0
  64. unref-0.3.2/tests/cases/same_name_classes/local_base.py +43 -0
  65. unref-0.3.2/tests/cases/same_name_classes/local_global.py +29 -0
  66. unref-0.3.2/tests/cases/same_name_classes/local_hides_import.py +24 -0
  67. unref-0.3.2/tests/cases/same_name_classes/local_override.py +21 -0
  68. unref-0.3.2/tests/cases/same_name_classes/local_own_member.py +21 -0
  69. unref-0.3.2/tests/cases/same_name_classes/pyproject.toml +3 -0
  70. unref-0.3.2/tests/cases/same_name_classes/same_scope.py +18 -0
  71. unref-0.3.2/tests/cases/same_name_classes/top_level_and_local.py +16 -0
  72. unref-0.3.2/tests/cases/standard_library/.venv/lib/python3.14/os.py +0 -0
  73. unref-0.3.2/tests/cases/string_lookups/attributes.py +54 -0
  74. unref-0.3.2/tests/cases/string_lookups/helpers.py +22 -0
  75. unref-0.3.2/tests/cases/string_lookups/namespace.py +55 -0
  76. unref-0.3.2/tests/cases/typed_dict/helpers.py +10 -0
  77. unref-0.3.2/tests/cases/typed_dict/whole.py +113 -0
  78. {unref-0.3.0 → unref-0.3.2}/uv.lock +92 -110
  79. {unref-0.3.0 → unref-0.3.2}/zensical.toml +1 -0
  80. unref-0.3.0/assets/benchmark.svg +0 -1
  81. unref-0.3.0/tests/cases/frameworks_unittest/testsuite.py +0 -15
  82. {unref-0.3.0 → unref-0.3.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  83. {unref-0.3.0 → unref-0.3.2}/.github/actionlint.yaml +0 -0
  84. {unref-0.3.0 → unref-0.3.2}/.gitignore +0 -0
  85. {unref-0.3.0 → unref-0.3.2}/.pre-commit-hooks.yaml +0 -0
  86. {unref-0.3.0 → unref-0.3.2}/.readthedocs.yaml +0 -0
  87. {unref-0.3.0 → unref-0.3.2}/LICENSE +0 -0
  88. {unref-0.3.0 → unref-0.3.2}/linters/cspell.json +0 -0
  89. {unref-0.3.0 → unref-0.3.2}/linters/mypy.toml +0 -0
  90. {unref-0.3.0 → unref-0.3.2}/linters/ruff.toml +0 -0
  91. {unref-0.3.0 → unref-0.3.2}/linters/taplo.toml +0 -0
  92. {unref-0.3.0 → unref-0.3.2}/linters/unref.toml +0 -0
  93. {unref-0.3.0 → unref-0.3.2}/linters/yamllint.yaml +0 -0
  94. {unref-0.3.0 → unref-0.3.2}/scripts/release.py +0 -0
  95. {unref-0.3.0 → unref-0.3.2}/src/ignores.rs +0 -0
  96. {unref-0.3.0 → unref-0.3.2}/src/models.rs +0 -0
  97. {unref-0.3.0 → unref-0.3.2}/src/positions.rs +0 -0
  98. {unref-0.3.0 → unref-0.3.2}/tests/__init__.py +0 -0
  99. {unref-0.3.0 → unref-0.3.2}/tests/_cli/__init__.py +0 -0
  100. {unref-0.3.0 → unref-0.3.2}/tests/_cli/_files.py +0 -0
  101. {unref-0.3.0 → unref-0.3.2}/tests/_cli/test_environment.py +0 -0
  102. {unref-0.3.0 → unref-0.3.2}/tests/_cli/test_output.py +0 -0
  103. {unref-0.3.0 → unref-0.3.2}/tests/_unref.py +0 -0
  104. {unref-0.3.0 → unref-0.3.2}/tests/cases/all_exports/all_exports.py +0 -0
  105. {unref-0.3.0 → unref-0.3.2}/tests/cases/all_exports/all_exports_forms.py +0 -0
  106. {unref-0.3.0 → unref-0.3.2}/tests/cases/all_exports/all_exports_forms_annotated.py +0 -0
  107. {unref-0.3.0 → unref-0.3.2}/tests/cases/all_exports/all_exports_not_strings.py +0 -0
  108. {unref-0.3.0 → unref-0.3.2}/tests/cases/all_exports/string_not_in_all.py +0 -0
  109. {unref-0.3.0 → unref-0.3.2}/tests/cases/ast_node_visitor/main.py +0 -0
  110. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/helpers.py +0 -0
  111. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/local.py +0 -0
  112. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/main.py +0 -0
  113. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/pkg/__init__.py +0 -0
  114. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/pkg/mod.py +0 -0
  115. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/pkg/other.py +0 -0
  116. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/pkg/sibling.py +0 -0
  117. {unref-0.3.0 → unref-0.3.2}/tests/cases/attribute_of_module/pkg/third.py +0 -0
  118. {unref-0.3.0 → unref-0.3.2}/tests/cases/columns/ascii.py +0 -0
  119. {unref-0.3.0 → unref-0.3.2}/tests/cases/columns/cp1252.py +0 -0
  120. {unref-0.3.0 → unref-0.3.2}/tests/cases/columns/euc_jp.py +0 -0
  121. {unref-0.3.0 → unref-0.3.2}/tests/cases/columns/latin1.py +0 -0
  122. {unref-0.3.0 → unref-0.3.2}/tests/cases/columns/main.py +0 -0
  123. {unref-0.3.0 → unref-0.3.2}/tests/cases/columns/utf8.py +0 -0
  124. {unref-0.3.0 → unref-0.3.2}/tests/cases/compiled_submodule_star/main.py +0 -0
  125. {unref-0.3.0 → unref-0.3.2}/tests/cases/compiled_submodule_star/pkg/__init__.py +0 -0
  126. {unref-0.3.0 → unref-0.3.2}/tests/cases/config_in_parent/pyproject.toml +0 -0
  127. {unref-0.3.0 → unref-0.3.2}/tests/cases/config_in_parent/scripts/tool.py +0 -0
  128. {unref-0.3.0 → unref-0.3.2}/tests/cases/config_in_parent/src/app/__init__.py +0 -0
  129. {unref-0.3.0 → unref-0.3.2}/tests/cases/config_in_parent/src/app/cli.py +0 -0
  130. {unref-0.3.0 → unref-0.3.2}/tests/cases/config_in_parent/src/app/skip.py +0 -0
  131. {unref-0.3.0 → unref-0.3.2}/tests/cases/decorated_function/main.py +0 -0
  132. {unref-0.3.0 → unref-0.3.2}/tests/cases/default_excluded/main.py +0 -0
  133. {unref-0.3.0 → unref-0.3.2}/tests/cases/default_excluded/node_modules/use.py +0 -0
  134. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/assignment_to_other_object.py +0 -0
  135. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/attribute_read.py +0 -0
  136. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/class_.py +0 -0
  137. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/class_attribute.py +0 -0
  138. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/method_called.py +0 -0
  139. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/method_without_self.py +0 -0
  140. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/name_read.py +0 -0
  141. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/nested_function.py +0 -0
  142. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/property_setter.py +0 -0
  143. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/recursive_function.py +0 -0
  144. {unref-0.3.0 → unref-0.3.2}/tests/cases/definitions/type_alias.py +0 -0
  145. {unref-0.3.0 → unref-0.3.2}/tests/cases/dummy_variable_rgx/main.py +0 -0
  146. {unref-0.3.0 → unref-0.3.2}/tests/cases/dummy_variable_rgx/pyproject.toml +0 -0
  147. {unref-0.3.0 → unref-0.3.2}/tests/cases/dunders/dunder_function.py +0 -0
  148. {unref-0.3.0 → unref-0.3.2}/tests/cases/dunders/dunder_method.py +0 -0
  149. {unref-0.3.0 → unref-0.3.2}/tests/cases/dunders/dunder_variable.py +0 -0
  150. {unref-0.3.0 → unref-0.3.2}/tests/cases/dunders/not_dunder.py +0 -0
  151. {unref-0.3.0 → unref-0.3.2}/tests/cases/empty_file/main.py +0 -0
  152. {unref-0.3.0 → unref-0.3.2}/tests/cases/entry_points/main.py +0 -0
  153. {unref-0.3.0 → unref-0.3.2}/tests/cases/entry_points/pkg/__init__.py +0 -0
  154. {unref-0.3.0 → unref-0.3.2}/tests/cases/entry_points/pkg/gui.py +0 -0
  155. {unref-0.3.0 → unref-0.3.2}/tests/cases/entry_points/pkg/plugins.py +0 -0
  156. {unref-0.3.0 → unref-0.3.2}/tests/cases/entry_points/pyproject.toml +0 -0
  157. {unref-0.3.0 → unref-0.3.2}/tests/cases/enum_members/enums.py +0 -0
  158. {unref-0.3.0 → unref-0.3.2}/tests/cases/enum_members/fruits/__init__.py +0 -0
  159. {unref-0.3.0 → unref-0.3.2}/tests/cases/enum_members/fruits/enums.py +0 -0
  160. {unref-0.3.0 → unref-0.3.2}/tests/cases/enum_members/main.py +0 -0
  161. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude/generated/deep/module.py +0 -0
  162. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude/generated/module.py +0 -0
  163. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude/main.py +0 -0
  164. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude/pkg/generated/module.py +0 -0
  165. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude/pyproject.toml +0 -0
  166. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude/single.py +0 -0
  167. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude_patterns/main.py +0 -0
  168. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude_patterns/node_modules/use.py +0 -0
  169. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude_patterns/pkg/fixtures/use.py +0 -0
  170. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude_patterns/pyproject.toml +0 -0
  171. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude_patterns/scripts/keep.py +0 -0
  172. {unref-0.3.0 → unref-0.3.2}/tests/cases/exclude_patterns/scripts/one.py +0 -0
  173. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class/main.py +0 -0
  174. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class/reexport.py +0 -0
  175. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_getattr/lazy.py +0 -0
  176. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_getattr/main.py +0 -0
  177. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_getattr/not_lazy.py +0 -0
  178. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_nested/lazy.py +0 -0
  179. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_nested/main.py +0 -0
  180. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_nested/pyproject.toml +0 -0
  181. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_nested/reexport.py +0 -0
  182. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_nested/vendored/__init__.py +0 -0
  183. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_base_class_nested/vendored/outer.py +0 -0
  184. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/bin/python +0 -0
  185. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/lib/python3.15/site-packages/pkg/__init__.py +0 -0
  186. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/lib/python3.15/site-packages/pkg/dotted.py +0 -0
  187. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/lib/python3.15/site-packages/pkg/other.py +0 -0
  188. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/lib/python3.15/site-packages/pkg/stable.py +0 -0
  189. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/lib/python3.15/site-packages/pkg/tagged.py +0 -0
  190. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/.venv/pyvenv.cfg +0 -0
  191. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/main.py +0 -0
  192. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_compiled_star/pyproject.toml +0 -0
  193. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/bin/python +0 -0
  194. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/lib/python3.15/site-packages/editable.pth +0 -0
  195. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/lib/python3.15/site-packages/project_only/__init__.py +0 -0
  196. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/lib/python3.15/site-packages/project_only/types.py +0 -0
  197. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/lib/python3.15/site-packages/unreadable.pth/README.txt +0 -0
  198. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/pythonpath/project_only/__init__.py +0 -0
  199. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/pythonpath/project_only/types.py +0 -0
  200. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/pyvenv.cfg +0 -0
  201. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/.venv/src/editable_module.py +0 -0
  202. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/main.py +0 -0
  203. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_environment/pyproject.toml +0 -0
  204. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_missing_star/.venv/lib/python3.15/site-packages/pkg/__init__.py +0 -0
  205. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_missing_star/.venv/lib/python3.15/site-packages/pkg/optional.py +0 -0
  206. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_missing_star/.venv/lib/python3.15/site-packages/pkg/other.py +0 -0
  207. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_missing_star/.venv/pyvenv.cfg +0 -0
  208. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_missing_star/main.py +0 -0
  209. {unref-0.3.0 → unref-0.3.2}/tests/cases/external_missing_star/pyproject.toml +0 -0
  210. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_celery/myapp/__init__.py +0 -0
  211. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_celery/myapp/tasks.py +0 -0
  212. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_celery/proj/__init__.py +0 -0
  213. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_celery/proj/celery.py +0 -0
  214. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_celery/proj/settings.py +0 -0
  215. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_dataclasses/models.py +0 -0
  216. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/manage.py +0 -0
  217. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/mysite/__init__.py +0 -0
  218. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/mysite/asgi.py +0 -0
  219. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/mysite/base.py +0 -0
  220. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/mysite/settings.py +0 -0
  221. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/mysite/urls.py +0 -0
  222. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/mysite/wsgi.py +0 -0
  223. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/other/__init__.py +0 -0
  224. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/other/settings.py +0 -0
  225. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/other/urls.py +0 -0
  226. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/__init__.py +0 -0
  227. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/apps.py +0 -0
  228. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/migration_base.py +0 -0
  229. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/migrations/0001_initial.py +0 -0
  230. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/migrations/0002_imported.py +0 -0
  231. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/migrations/0003_defined.py +0 -0
  232. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/migrations/0004_custom_base.py +0 -0
  233. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/migrations/__init__.py +0 -0
  234. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/urls.py +0 -0
  235. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django/polls/views.py +0 -0
  236. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django_settings/config/__init__.py +0 -0
  237. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django_settings/config/settings/__init__.py +0 -0
  238. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django_settings/config/settings/local.py +0 -0
  239. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django_settings/config/settings/production.py +0 -0
  240. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django_settings/config/urls.py +0 -0
  241. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_django_settings/pyproject.toml +0 -0
  242. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_fastapi/main.py +0 -0
  243. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_fastapi/routers.py +0 -0
  244. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_fastapi/test_local.py +0 -0
  245. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_flask/app.py +0 -0
  246. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_flask/cli.py +0 -0
  247. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_flask/handlers.py +0 -0
  248. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_flask/views.py +0 -0
  249. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_flask/wsgi.py +0 -0
  250. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/bin/python +0 -0
  251. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/__init__.py +0 -0
  252. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/deprecated/class_validators.py +0 -0
  253. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/fields.py +0 -0
  254. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/functional_serializers.py +0 -0
  255. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/functional_validators.py +0 -0
  256. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/main.py +0 -0
  257. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/v1/__init__.py +0 -0
  258. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic/v1/main.py +0 -0
  259. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic_settings/__init__.py +0 -0
  260. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/lib/python3.15/site-packages/pydantic_settings/main.py +0 -0
  261. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pydantic/.venv/pyvenv.cfg +0 -0
  262. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/bases.py +0 -0
  263. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/helpers.py +0 -0
  264. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/tests/conftest.py +0 -0
  265. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/tests/module_test.py +0 -0
  266. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/tests/test_asyncio.py +0 -0
  267. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_pytest/tests/test_inheritance.py +0 -0
  268. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_selected/docs/conf.py +0 -0
  269. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_selected/models.py +0 -0
  270. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_selected/pyproject.toml +0 -0
  271. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_selected/test_module.py +0 -0
  272. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sphinx/docs/conf.py +0 -0
  273. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sphinx/other/conf.py +0 -0
  274. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sphinx/settings.py +0 -0
  275. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sphinx_configuration/docs/source/conf.py +0 -0
  276. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sphinx_configuration/other/conf.py +0 -0
  277. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sphinx_configuration/pyproject.toml +0 -0
  278. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sqlalchemy/chained.py +0 -0
  279. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sqlalchemy/legacy.py +0 -0
  280. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sqlalchemy/models.py +0 -0
  281. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_sqlalchemy/other.py +0 -0
  282. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_unittest/base.py +0 -0
  283. {unref-0.3.0 → unref-0.3.2}/tests/cases/frameworks_unittest/mixins.py +0 -0
  284. {unref-0.3.0 → unref-0.3.2}/tests/cases/function/main.py +0 -0
  285. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/.gitignore +0 -0
  286. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/generated/use.py +0 -0
  287. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/main.py +0 -0
  288. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/nested/.gitignore +0 -0
  289. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/nested/scratch_nested.py +0 -0
  290. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/scratch_kept.py +0 -0
  291. {unref-0.3.0 → unref-0.3.2}/tests/cases/gitignore/scratch_one.py +0 -0
  292. {unref-0.3.0 → unref-0.3.2}/tests/cases/hidden_directory/.github/scripts/run.py +0 -0
  293. {unref-0.3.0 → unref-0.3.2}/tests/cases/hidden_directory/pkg/__init__.py +0 -0
  294. {unref-0.3.0 → unref-0.3.2}/tests/cases/hidden_directory/pkg/util.py +0 -0
  295. {unref-0.3.0 → unref-0.3.2}/tests/cases/ignore_comment/main.py +0 -0
  296. {unref-0.3.0 → unref-0.3.2}/tests/cases/ignore_comment/pyproject.toml +0 -0
  297. {unref-0.3.0 → unref-0.3.2}/tests/cases/ignore_comment/without_comment.py +0 -0
  298. {unref-0.3.0 → unref-0.3.2}/tests/cases/ignore_comment_invalid/main.py +0 -0
  299. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/function_only_imported.py +0 -0
  300. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/function_only_imported_helpers.py +0 -0
  301. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_from_module.py +0 -0
  302. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_from_module_helpers.py +0 -0
  303. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_from_module_other.py +0 -0
  304. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_from_package.py +0 -0
  305. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_from_package_pkg/__init__.py +0 -0
  306. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_from_package_pkg/module.py +0 -0
  307. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_lazy.py +0 -0
  308. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_lazy_helpers.py +0 -0
  309. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_lazy_other.py +0 -0
  310. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_relative_pkg/__init__.py +0 -0
  311. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_relative_pkg/helpers.py +0 -0
  312. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_relative_pkg/sub/__init__.py +0 -0
  313. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_relative_pkg/sub/module.py +0 -0
  314. {unref-0.3.0/tests/cases/namespace_package/pkg → unref-0.3.2/tests/cases/imports/import_sibling_pkg}/__init__.py +0 -0
  315. /unref-0.3.0/tests/cases/package/pkg/sub/module.py → /unref-0.3.2/tests/cases/imports/import_sibling_pkg/scripts/import_from_module_helpers.py +0 -0
  316. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_star.py +0 -0
  317. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_star_helpers.py +0 -0
  318. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_star_scope.py +0 -0
  319. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_star_scope_helpers.py +0 -0
  320. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_star_with_all.py +0 -0
  321. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_star_with_all_helpers.py +0 -0
  322. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_unresolved.py +0 -0
  323. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/import_unresolved_other.py +0 -0
  324. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/reexport_same_name.py +0 -0
  325. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/reexport_same_name_pkg/__init__.py +0 -0
  326. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/reexport_same_name_pkg/colors.py +0 -0
  327. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/reexport_same_name_pkg/tool.py +0 -0
  328. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/same_name_in_other_module.py +0 -0
  329. {unref-0.3.0 → unref-0.3.2}/tests/cases/imports/same_name_in_other_module_other.py +0 -0
  330. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/class_body_read.py +0 -0
  331. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_class_body.py +0 -0
  332. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_closure.py +0 -0
  333. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_comprehension.py +0 -0
  334. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_comprehension_unpacking.py +0 -0
  335. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_default.py +0 -0
  336. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_function.py +0 -0
  337. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_function_closure.py +0 -0
  338. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_function_global.py +0 -0
  339. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_function_nonlocal.py +0 -0
  340. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_global.py +0 -0
  341. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_import.py +0 -0
  342. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_lambda.py +0 -0
  343. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_match.py +0 -0
  344. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_parameter.py +0 -0
  345. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_targets.py +0 -0
  346. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_variable.py +0 -0
  347. {unref-0.3.0 → unref-0.3.2}/tests/cases/local_scopes/local_variable_read.py +0 -0
  348. {unref-0.3.0 → unref-0.3.2}/tests/cases/match_class_pattern/main.py +0 -0
  349. {unref-0.3.0 → unref-0.3.2}/tests/cases/match_class_pattern/pyproject.toml +0 -0
  350. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_class.py +0 -0
  351. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_external_base.py +0 -0
  352. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_metaclass.py +0 -0
  353. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_mixin.py +0 -0
  354. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_name_imported.py +0 -0
  355. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_name_imported_jobs.py +0 -0
  356. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_name_read.py +0 -0
  357. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_private_helper.py +0 -0
  358. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_protocol.py +0 -0
  359. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_self.py +0 -0
  360. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_super.py +0 -0
  361. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_template_method.py +0 -0
  362. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_unknown_base.py +0 -0
  363. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/member_unknown_receiver.py +0 -0
  364. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/same_name_elsewhere.py +0 -0
  365. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/shapes/__init__.py +0 -0
  366. {unref-0.3.0 → unref-0.3.2}/tests/cases/member_receivers/shapes/models.py +0 -0
  367. {unref-0.3.0 → unref-0.3.2}/tests/cases/method/main.py +0 -0
  368. {unref-0.3.0/tests/cases/override_base_class_external/vendored → unref-0.3.2/tests/cases/namespace_package/pkg}/__init__.py +0 -0
  369. {unref-0.3.0 → unref-0.3.2}/tests/cases/namespace_package/pkg/main.py +0 -0
  370. {unref-0.3.0 → unref-0.3.2}/tests/cases/namespace_package/pkg/sub/deeper/mod.py +0 -0
  371. {unref-0.3.0 → unref-0.3.2}/tests/cases/namespace_package/pkg/sub/mod.py +0 -0
  372. {unref-0.3.0 → unref-0.3.2}/tests/cases/namespace_package/top/inner/mod.py +0 -0
  373. {unref-0.3.0 → unref-0.3.2}/tests/cases/namespace_package/top/main.py +0 -0
  374. {unref-0.3.0 → unref-0.3.2}/tests/cases/non_python_file/main.py +0 -0
  375. {unref-0.3.0 → unref-0.3.2}/tests/cases/non_python_file/notes.txt +0 -0
  376. {unref-0.3.0 → unref-0.3.2}/tests/cases/override/conftest.py +0 -0
  377. {unref-0.3.0 → unref-0.3.2}/tests/cases/override/pyproject.toml +0 -0
  378. {unref-0.3.0 → unref-0.3.2}/tests/cases/override/src/module.py +0 -0
  379. {unref-0.3.0 → unref-0.3.2}/tests/cases/override/tests/test_module.py +0 -0
  380. {unref-0.3.0 → unref-0.3.2}/tests/cases/override/tests/unit/test_unit.py +0 -0
  381. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/children.py +0 -0
  382. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/cycle_first.py +0 -0
  383. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/cycle_second.py +0 -0
  384. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/models.py +0 -0
  385. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/pkg/__init__.py +0 -0
  386. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/pkg/base.py +0 -0
  387. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/pyproject.toml +0 -0
  388. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/star_cycle.py +0 -0
  389. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/stars/__init__.py +0 -0
  390. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/stars/first.py +0 -0
  391. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class/stars/second.py +0 -0
  392. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_and_path/models/model.py +0 -0
  393. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_and_path/other.py +0 -0
  394. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_and_path/pyproject.toml +0 -0
  395. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_external/main.py +0 -0
  396. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_external/pyproject.toml +0 -0
  397. {unref-0.3.0/tests/cases/package/pkg → unref-0.3.2/tests/cases/override_base_class_external/vendored}/__init__.py +0 -0
  398. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_external/vendored/base.py +0 -0
  399. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_external/vendored/broken.py +0 -0
  400. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_base_class_external/vendored/namespace/module.py +0 -0
  401. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_class_decorator/decorators.py +0 -0
  402. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_class_decorator/models.py +0 -0
  403. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_class_decorator/pyproject.toml +0 -0
  404. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_class_decorator_and_base_class/models.py +0 -0
  405. {unref-0.3.0 → unref-0.3.2}/tests/cases/override_class_decorator_and_base_class/pyproject.toml +0 -0
  406. {unref-0.3.0/tests/cases/package/pkg/sub → unref-0.3.2/tests/cases/package/pkg}/__init__.py +0 -0
  407. {unref-0.3.0 → unref-0.3.2}/tests/cases/package/pkg/module.py +0 -0
  408. /unref-0.3.0/tests/cases/standard_library/.venv/lib/python3.13/os.py → /unref-0.3.2/tests/cases/package/pkg/sub/__init__.py +0 -0
  409. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_annotation.py +0 -0
  410. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_annotation_nested.py +0 -0
  411. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_annotation_self.py +0 -0
  412. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_cast.py +0 -0
  413. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_plain_string.py +0 -0
  414. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_type_alias.py +0 -0
  415. {unref-0.3.0 → unref-0.3.2}/tests/cases/quoted_annotations/quoted_type_var.py +0 -0
  416. {unref-0.3.0 → unref-0.3.2}/tests/cases/reexport_cycle/first/__init__.py +0 -0
  417. {unref-0.3.0 → unref-0.3.2}/tests/cases/reexport_cycle/main.py +0 -0
  418. {unref-0.3.0 → unref-0.3.2}/tests/cases/reexport_cycle/second/__init__.py +0 -0
  419. {unref-0.3.0 → unref-0.3.2}/tests/cases/reexport_cycle/second/values.py +0 -0
  420. {unref-0.3.0 → unref-0.3.2}/tests/cases/standard_library/.venv/lib/python3.13/handlers.py +0 -0
  421. {unref-0.3.0/tests/cases/standard_library/.venv/lib/python3.14 → unref-0.3.2/tests/cases/standard_library/.venv/lib/python3.13}/os.py +0 -0
  422. {unref-0.3.0 → unref-0.3.2}/tests/cases/standard_library/.venv/lib/python3.14/handlers.py +0 -0
  423. {unref-0.3.0 → unref-0.3.2}/tests/cases/standard_library/main.py +0 -0
  424. {unref-0.3.0 → unref-0.3.2}/tests/cases/standard_library/pyproject.toml +0 -0
  425. {unref-0.3.0 → unref-0.3.2}/tests/cases/syntax_error/bad.py +0 -0
  426. {unref-0.3.0 → unref-0.3.2}/tests/cases/syntax_error/good.py +0 -0
  427. {unref-0.3.0 → unref-0.3.2}/tests/cases/syntax_error/undecodable.txt +0 -0
  428. {unref-0.3.0 → unref-0.3.2}/tests/cases/syntax_error/unknown_encoding.txt +0 -0
  429. {unref-0.3.0 → unref-0.3.2}/tests/cases/syntax_warning/main.py +0 -0
  430. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/transitive.py +0 -0
  431. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/used_only_by_unused.py +0 -0
  432. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/used_only_by_unused_helpers.py +0 -0
  433. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/used_only_by_unused_star.py +0 -0
  434. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/used_only_by_unused_star_helpers.py +0 -0
  435. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/used_only_by_unused_star_star.py +0 -0
  436. {unref-0.3.0 → unref-0.3.2}/tests/cases/transitive/used_only_by_unused_star_star_used.py +0 -0
  437. {unref-0.3.0 → unref-0.3.2}/tests/cases/typed_dict/main.py +0 -0
  438. {unref-0.3.0 → unref-0.3.2}/tests/cases/typed_dict/models.py +0 -0
  439. {unref-0.3.0 → unref-0.3.2}/tests/cases/used_decorator/main.py +0 -0
  440. {unref-0.3.0 → unref-0.3.2}/tests/cases/used_decorator/pyproject.toml +0 -0
  441. {unref-0.3.0 → unref-0.3.2}/tests/cases/used_name/main.py +0 -0
  442. {unref-0.3.0 → unref-0.3.2}/tests/cases/used_name/pyproject.toml +0 -0
  443. {unref-0.3.0 → unref-0.3.2}/tests/cases/used_only_by_unused_root/main.py +0 -0
  444. {unref-0.3.0 → unref-0.3.2}/tests/cases/used_only_by_unused_root/pyproject.toml +0 -0
  445. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/dummy_variable.py +0 -0
  446. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/instance_attribute.py +0 -0
  447. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/instance_attribute_declared.py +0 -0
  448. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/underscore.py +0 -0
  449. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable.py +0 -0
  450. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_for_loop.py +0 -0
  451. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_in_block.py +0 -0
  452. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_only_written.py +0 -0
  453. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_reassigned.py +0 -0
  454. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_unpacking.py +0 -0
  455. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_walrus.py +0 -0
  456. {unref-0.3.0 → unref-0.3.2}/tests/cases/variables/variable_with.py +0 -0
  457. {unref-0.3.0 → unref-0.3.2}/tests/pytest.ini +0 -0
  458. {unref-0.3.0 → unref-0.3.2}/tests/test_cases.py +0 -0
@@ -0,0 +1,61 @@
1
+ name: Bug report
2
+ description: A false positive, a missed finding, a crash or other wrong behavior.
3
+ labels: ["bug"]
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ The smallest project that shows the bug helps the most: a few short files, the configuration
9
+ and the command.
10
+
11
+ - type: textarea
12
+ id: files
13
+ attributes:
14
+ label: Files
15
+ description: The Python files and the configuration file, if any, each with its path.
16
+ placeholder: |
17
+ `main.py`:
18
+ ```python
19
+
20
+ ```
21
+
22
+ `pyproject.toml`:
23
+ ```toml
24
+ [tool.unref]
25
+
26
+ ```
27
+ validations:
28
+ required: true
29
+
30
+ - type: input
31
+ id: command
32
+ attributes:
33
+ label: Command
34
+ value: unref .
35
+ validations:
36
+ required: true
37
+
38
+ - type: textarea
39
+ id: output
40
+ attributes:
41
+ label: Command output
42
+ description: What the command printed.
43
+ render: text
44
+ validations:
45
+ required: true
46
+
47
+ - type: textarea
48
+ id: problem
49
+ attributes:
50
+ label: What is wrong
51
+ description: Which findings are wrong or missing, or what else should have happened.
52
+ validations:
53
+ required: true
54
+
55
+ - type: input
56
+ id: version
57
+ attributes:
58
+ label: Version
59
+ description: The output of `unref --version`.
60
+ validations:
61
+ required: true
@@ -0,0 +1 @@
1
+ blank_issues_enabled: false
@@ -0,0 +1,38 @@
1
+ name: Feature request
2
+ description: A missing framework, option or rule.
3
+ labels: ["enhancement"]
4
+ body:
5
+ - type: textarea
6
+ id: description
7
+ attributes:
8
+ label: Description
9
+ description: What is missing, and what `unref` should do. For a framework, link its documentation.
10
+ validations:
11
+ required: true
12
+
13
+ - type: textarea
14
+ id: files
15
+ attributes:
16
+ label: Example
17
+ description: >-
18
+ A few short files that use the feature and the configuration file, if any, each with its path,
19
+ and what `unref` should report.
20
+ placeholder: |
21
+ `main.py`:
22
+ ```python
23
+
24
+ ```
25
+
26
+ `pyproject.toml`:
27
+ ```toml
28
+ [tool.unref]
29
+
30
+ ```
31
+
32
+ - type: input
33
+ id: version
34
+ attributes:
35
+ label: Version
36
+ description: The output of `unref --version`.
37
+ validations:
38
+ required: true
@@ -0,0 +1,18 @@
1
+ name: Other
2
+ description: A question, a documentation fix or anything else.
3
+ labels: ["triage"]
4
+ body:
5
+ - type: textarea
6
+ id: description
7
+ attributes:
8
+ label: Description
9
+ validations:
10
+ required: true
11
+
12
+ - type: input
13
+ id: version
14
+ attributes:
15
+ label: Version
16
+ description: The output of `unref --version`.
17
+ validations:
18
+ required: true
@@ -15,12 +15,18 @@ concurrency:
15
15
  group: ${{ github.workflow }}-${{ github.ref }}
16
16
  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
17
17
 
18
+ # Jobs that need more ask for it themselves.
19
+ permissions:
20
+ contents: read
21
+
18
22
  jobs:
19
23
  linters:
20
24
  name: Linters
21
25
  runs-on: ubuntu-latest
22
26
  steps:
23
27
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
28
+ with:
29
+ persist-credentials: false
24
30
 
25
31
  - name: Setup Python
26
32
  uses: ./.github/workflows/util/setup_python
@@ -48,6 +54,8 @@ jobs:
48
54
  runs-on: ubuntu-latest
49
55
  steps:
50
56
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
57
+ with:
58
+ persist-credentials: false
51
59
 
52
60
  - name: Setup Python
53
61
  uses: ./.github/workflows/util/setup_python
@@ -64,6 +72,8 @@ jobs:
64
72
  runs-on: ubuntu-latest
65
73
  steps:
66
74
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
75
+ with:
76
+ persist-credentials: false
67
77
 
68
78
  - uses: ./.github/workflows/util/setup_python
69
79
  with:
@@ -80,6 +90,8 @@ jobs:
80
90
  runs-on: ubuntu-latest
81
91
  steps:
82
92
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
93
+ with:
94
+ persist-credentials: false
83
95
 
84
96
  - uses: ./.github/workflows/util/setup_python
85
97
 
@@ -90,18 +102,43 @@ jobs:
90
102
  - name: Run tests of the command
91
103
  run: pytest --showlocals -c tests/pytest.ini
92
104
 
105
+ # The oldest Rust that Cargo.toml supports, two releases behind the pinned toolchain, as ruff's.
106
+ minimum-rust:
107
+ name: Minimum Rust version
108
+ runs-on: ubuntu-latest
109
+ steps:
110
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
111
+ with:
112
+ persist-credentials: false
113
+
114
+ - name: Install the minimum Rust version
115
+ id: minimum
116
+ run: |
117
+ version=$(sed -n 's/^rust-version = "\(.*\)"$/\1/p' Cargo.toml)
118
+ rustup toolchain install "$version" --profile minimal
119
+ echo "version=$version" >> "$GITHUB_OUTPUT"
120
+
121
+ - name: Rust cache
122
+ uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
123
+ with:
124
+ key: minimum-rust-${{ steps.minimum.outputs.version }}
125
+ save-if: ${{ github.ref == 'refs/heads/main' }}
126
+
127
+ - name: Build the tests
128
+ env:
129
+ RUST_VERSION: ${{ steps.minimum.outputs.version }}
130
+ run: cargo "+$RUST_VERSION" test --locked --no-run
131
+
93
132
  compare:
94
133
  name: Compare with main
95
134
  runs-on: ubuntu-latest
96
- permissions:
97
- contents: read
98
- pull-requests: write
99
135
  steps:
100
136
  # A pull request is checked out as its merge into the current main, which is the merge's first parent. The
101
137
  # base SHA of the event can be an older main, whose later commits would count as changes of the PR. A manual
102
138
  # run compares the branch it runs on with main. A push to main only builds the head, to save its caches.
103
139
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
104
140
  with:
141
+ persist-credentials: false
105
142
  fetch-depth: 2
106
143
 
107
144
  - name: Checkout the base
@@ -181,20 +218,28 @@ jobs:
181
218
  done > report.md
182
219
  cat report.md >> "$GITHUB_STEP_SUMMARY"
183
220
 
184
- # A pull request from a fork has a read-only token, so it gets the job summary only.
185
- - name: Comment on the pull request
186
- if: >-
187
- ${{ !cancelled() && hashFiles('benchmark.md', 'ecosystem.md') != '' && github.event_name == 'pull_request'
188
- && github.event.pull_request.head.repo.full_name == github.repository }}
189
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
221
+ # This run has a read-only token, also for a pull request from a fork, so Publish Comparison posts the
222
+ # report. The number tells it which pull request the report is for.
223
+ - name: Save the pull request number
224
+ if: ${{ !cancelled() && github.event_name == 'pull_request' }}
225
+ env:
226
+ NUMBER: ${{ github.event.number }}
227
+ run: echo "$NUMBER" > number
228
+
229
+ - name: Upload the report
230
+ if: ${{ !cancelled() && github.event_name == 'pull_request' }}
231
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
190
232
  with:
191
- header: compare
192
- path: report.md
233
+ name: compare-report
234
+ path: |
235
+ report.md
236
+ number
237
+ retention-days: 1
193
238
 
194
239
  check:
195
240
  name: Check All
196
241
  if: always()
197
- needs: [linters, docs, type-check, unit-tests, compare]
242
+ needs: [linters, docs, type-check, unit-tests, minimum-rust, compare]
198
243
  runs-on: ubuntu-latest
199
244
  steps:
200
245
  - name: Decide whether the needed jobs succeeded or failed
@@ -0,0 +1,60 @@
1
+ name: Publish Comparison
2
+
3
+ # Posts the report of the comparison with main on its pull request, also on one from a fork, whose CI run has a
4
+ # read-only token. This workflow has write access, so it never checks out or runs code of the pull request, and
5
+ # treats the report and the number of its artifact as untrusted.
6
+ on:
7
+ workflow_run: # zizmor: ignore[dangerous-triggers]
8
+ workflows: [CI]
9
+ types: [completed]
10
+
11
+ permissions: {}
12
+
13
+ jobs:
14
+ comment:
15
+ name: Comment on the pull request
16
+ if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion != 'cancelled'
17
+ runs-on: ubuntu-latest
18
+ permissions:
19
+ # Required to download the artifact of the CI run.
20
+ actions: read
21
+ pull-requests: write
22
+ steps:
23
+ - name: Download the report
24
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
25
+ with:
26
+ name: compare-report
27
+ path: ${{ runner.temp }}/compare
28
+ run-id: ${{ github.event.workflow_run.id }}
29
+ github-token: ${{ github.token }}
30
+
31
+ # A run of a fork could name any pull request, so its number must be one whose head is the head of the run.
32
+ # A newer push to the pull request skips the comment, as the run of that push posts its own.
33
+ - name: Check the pull request number
34
+ id: pr
35
+ env:
36
+ GH_TOKEN: ${{ github.token }}
37
+ REPO: ${{ github.repository }}
38
+ HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
39
+ NUMBER_FILE: ${{ runner.temp }}/compare/number
40
+ run: |
41
+ number=$(head -c 20 "$NUMBER_FILE" | tr -d '[:space:]')
42
+ if ! [[ "$number" =~ ^[0-9]+$ ]]; then
43
+ echo "Not a pull request number: $number"
44
+ exit 1
45
+ fi
46
+ pr_sha=$(gh api "repos/$REPO/pulls/$number" --jq .head.sha)
47
+ if [ "$pr_sha" != "$HEAD_SHA" ]; then
48
+ echo "The head of pull request #$number is $pr_sha, not $HEAD_SHA"
49
+ exit 0
50
+ fi
51
+ echo "number=$number" >> "$GITHUB_OUTPUT"
52
+
53
+ - name: Comment on the pull request
54
+ if: steps.pr.outputs.number != ''
55
+ uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
56
+ with:
57
+ header: compare
58
+ number_force: ${{ steps.pr.outputs.number }}
59
+ path: ${{ runner.temp }}/compare/report.md
60
+ ignore_empty: true
@@ -6,6 +6,10 @@ on:
6
6
 
7
7
  workflow_dispatch:
8
8
 
9
+ # Jobs that need more ask for it themselves.
10
+ permissions:
11
+ contents: read
12
+
9
13
  # The wheels can be built from any branch by hand, but only a version tag is released.
10
14
  jobs:
11
15
  wheels:
@@ -36,11 +40,18 @@ jobs:
36
40
  run: git config --global core.longpaths true
37
41
 
38
42
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
43
+ with:
44
+ persist-credentials: false
45
+
46
+ - name: Setup uv
47
+ if: startsWith(github.ref, 'refs/tags/v')
48
+ uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
39
49
 
50
+ # The README is the page of the release on PyPI, so its pre-commit example is set too.
40
51
  - name: Set the version from the tag
41
52
  if: startsWith(github.ref, 'refs/tags/v')
42
53
  shell: bash
43
- run: sed -i.bak "s/^version = .*/version = \"${GITHUB_REF_NAME#v}\"/" Cargo.toml
54
+ run: uv run --only-group dev scripts/set_version.py "${GITHUB_REF_NAME#v}" --package
44
55
 
45
56
  - name: Build the wheel
46
57
  uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
@@ -60,10 +71,16 @@ jobs:
60
71
  runs-on: ubuntu-latest
61
72
  steps:
62
73
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
74
+ with:
75
+ persist-credentials: false
76
+
77
+ - name: Setup uv
78
+ if: startsWith(github.ref, 'refs/tags/v')
79
+ uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
63
80
 
64
81
  - name: Set the version from the tag
65
82
  if: startsWith(github.ref, 'refs/tags/v')
66
- run: sed -i "s/^version = .*/version = \"${GITHUB_REF_NAME#v}\"/" Cargo.toml
83
+ run: uv run --only-group dev scripts/set_version.py "${GITHUB_REF_NAME#v}" --package
67
84
 
68
85
  - name: Build the source distribution
69
86
  uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
@@ -81,6 +98,7 @@ jobs:
81
98
  name: Release
82
99
  needs: [wheels, sdist]
83
100
  runs-on: ubuntu-latest
101
+ environment: pypi
84
102
 
85
103
  permissions:
86
104
  # Required for PyPI Trusted Publishing (OIDC), so no API token is stored.
@@ -101,7 +119,6 @@ jobs:
101
119
  run: uv publish --trusted-publishing always dist/*
102
120
 
103
121
  - name: Create GitHub Release
104
- uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
105
- with:
106
- generate_release_notes: true
107
- files: dist/*
122
+ env:
123
+ GH_TOKEN: ${{ github.token }}
124
+ run: gh release create "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --generate-notes dist/*
@@ -0,0 +1,46 @@
1
+ name: Update Version
2
+
3
+ # Opens a pull request that points the docs and the benchmark at the latest release on PyPI, once it differs.
4
+ on:
5
+ schedule:
6
+ - cron: "0 6 * * *"
7
+
8
+ workflow_dispatch:
9
+
10
+ permissions: {}
11
+
12
+ jobs:
13
+ update:
14
+ name: Update the version
15
+ if: github.repository == 'Apakottur/unref'
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: write
19
+ pull-requests: write
20
+ # Required to start CI on the pull request, as one opened with this token does not.
21
+ actions: write
22
+ steps:
23
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24
+ with:
25
+ persist-credentials: false
26
+
27
+ - name: Setup uv
28
+ uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
29
+
30
+ - name: Set the latest version
31
+ run: uv run --only-group dev scripts/set_version.py
32
+
33
+ - name: Open or update the pull request
34
+ id: pr
35
+ uses: peter-evans/create-pull-request@3ffccacd46053766916f087ce41d627c0b8cf2d1 # v8.1.3
36
+ with:
37
+ branch: update-version
38
+ commit-message: Point the docs and the benchmark at the latest release of unref
39
+ title: Point the docs and the benchmark at the latest release of unref
40
+ body: The docs and the benchmark name an older release than the latest on PyPI.
41
+
42
+ - name: Start CI
43
+ if: steps.pr.outputs.pull-request-operation == 'created' || steps.pr.outputs.pull-request-operation == 'updated'
44
+ env:
45
+ GH_TOKEN: ${{ github.token }}
46
+ run: gh workflow run ci.yml --repo "$GITHUB_REPOSITORY" --ref update-version
@@ -16,6 +16,7 @@ runs:
16
16
  uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
17
17
  with:
18
18
  python-version: ${{ inputs.python-version }}
19
+ activate-environment: true
19
20
  enable-cache: true
20
21
  # Only main saves caches, as each pull request would save its own copy.
21
22
  save-cache: ${{ github.ref == 'refs/heads/main' }}
@@ -37,9 +38,3 @@ runs:
37
38
  else
38
39
  uv sync --frozen --no-install-project
39
40
  fi
40
-
41
- # Put the project virtual environment on PATH for subsequent steps, so tools can be
42
- # invoked directly (e.g. `pytest`).
43
- - name: Activate Python venv
44
- shell: bash
45
- run: echo "$(pwd)/.venv/bin" >> "$GITHUB_PATH"
@@ -0,0 +1,5 @@
1
+ rules:
2
+ # actionlint does not accept the `$/` syntax yet.
3
+ # https://github.com/rhysd/actionlint/issues/711
4
+ self-repository:
5
+ disable: true
@@ -10,6 +10,7 @@ All checks (linters, type checks, and tests) run automatically in CI through Git
10
10
  `unref` is written in Rust, on [Ruff](https://github.com/astral-sh/ruff)'s parser, and ships in a Python
11
11
  wheel built with [maturin](https://www.maturin.rs/), as Ruff does. Local development needs a
12
12
  [Rust toolchain](https://rustup.rs/) and [uv](https://docs.astral.sh/uv/getting-started/installation/).
13
+ `rustup` installs the version of Rust that `rust-toolchain.toml` pins on the first build.
13
14
 
14
15
  Install the development dependencies, which builds `unref` and installs it in `.venv`:
15
16
 
@@ -17,7 +18,12 @@ Install the development dependencies, which builds `unref` and installs it in `.
17
18
  uv sync
18
19
  ```
19
20
 
20
- `uv run` rebuilds it when its Rust source changes.
21
+ `uv run` rebuilds it when its Rust source changes. To work on the Python code or the scripts without building
22
+ `unref`, install only the development dependencies with `--only-group dev`:
23
+
24
+ ```shell
25
+ uv run --only-group dev mypy --config-file linters/mypy.toml .
26
+ ```
21
27
 
22
28
  ## Running checks locally
23
29
 
@@ -119,9 +119,9 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
119
119
 
120
120
  [[package]]
121
121
  name = "bstr"
122
- version = "1.13.1"
122
+ version = "1.14.0"
123
123
  source = "registry+https://github.com/rust-lang/crates.io-index"
124
- checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
124
+ checksum = "a680398c10c7bc0488067c4612226ea905a85f607134b69f3068d505d58c4214"
125
125
  dependencies = [
126
126
  "memchr",
127
127
  "serde_core",
@@ -177,9 +177,9 @@ dependencies = [
177
177
 
178
178
  [[package]]
179
179
  name = "clap"
180
- version = "4.6.7"
180
+ version = "4.6.8"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
182
+ checksum = "ac230478587d0269d8d6998b82ae69ea51509d55df66d9e92edd1f986904cd4a"
183
183
  dependencies = [
184
184
  "clap_builder",
185
185
  "clap_derive",
@@ -199,9 +199,9 @@ dependencies = [
199
199
 
200
200
  [[package]]
201
201
  name = "clap_derive"
202
- version = "4.6.7"
202
+ version = "4.6.8"
203
203
  source = "registry+https://github.com/rust-lang/crates.io-index"
204
- checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
204
+ checksum = "895c9d8d2ac2dd8b8a29f3724a14e72aaaa6debcf8c38c82f97305c6a172767a"
205
205
  dependencies = [
206
206
  "heck",
207
207
  "proc-macro2",
@@ -211,9 +211,9 @@ dependencies = [
211
211
 
212
212
  [[package]]
213
213
  name = "clap_lex"
214
- version = "1.1.1"
214
+ version = "1.1.2"
215
215
  source = "registry+https://github.com/rust-lang/crates.io-index"
216
- checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
216
+ checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79"
217
217
 
218
218
  [[package]]
219
219
  name = "collection_literals"
@@ -657,9 +657,9 @@ dependencies = [
657
657
 
658
658
  [[package]]
659
659
  name = "regex"
660
- version = "1.13.1"
660
+ version = "1.13.2"
661
661
  source = "registry+https://github.com/rust-lang/crates.io-index"
662
- checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
662
+ checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857"
663
663
  dependencies = [
664
664
  "aho-corasick",
665
665
  "memchr",
@@ -669,9 +669,9 @@ dependencies = [
669
669
 
670
670
  [[package]]
671
671
  name = "regex-automata"
672
- version = "0.4.18"
672
+ version = "0.4.19"
673
673
  source = "registry+https://github.com/rust-lang/crates.io-index"
674
- checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
674
+ checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158"
675
675
  dependencies = [
676
676
  "aho-corasick",
677
677
  "memchr",
@@ -680,9 +680,9 @@ dependencies = [
680
680
 
681
681
  [[package]]
682
682
  name = "regex-syntax"
683
- version = "0.8.11"
683
+ version = "0.8.12"
684
684
  source = "registry+https://github.com/rust-lang/crates.io-index"
685
- checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
685
+ checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
686
686
 
687
687
  [[package]]
688
688
  name = "ruff_python_ast"
@@ -727,6 +727,15 @@ dependencies = [
727
727
  "unicode-normalization",
728
728
  ]
729
729
 
730
+ [[package]]
731
+ name = "ruff_python_stdlib"
732
+ version = "0.0.22"
733
+ source = "git+https://github.com/astral-sh/ruff?tag=0.17.5#c91de8a012cb87efe279b762020a0d28dd75ddb5"
734
+ dependencies = [
735
+ "bitflags",
736
+ "unicode-ident",
737
+ ]
738
+
730
739
  [[package]]
731
740
  name = "ruff_python_trivia"
732
741
  version = "0.0.22"
@@ -858,9 +867,9 @@ checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
858
867
 
859
868
  [[package]]
860
869
  name = "smallvec"
861
- version = "1.16.5"
870
+ version = "1.16.6"
862
871
  source = "registry+https://github.com/rust-lang/crates.io-index"
863
- checksum = "149309498a5f7334b12ddae0cad8aba81ce785fe91755068867e017cf98fee46"
872
+ checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59"
864
873
 
865
874
  [[package]]
866
875
  name = "static_assertions"
@@ -924,9 +933,9 @@ dependencies = [
924
933
 
925
934
  [[package]]
926
935
  name = "tikv-jemalloc-sys"
927
- version = "0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
936
+ version = "0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8"
928
937
  source = "registry+https://github.com/rust-lang/crates.io-index"
929
- checksum = "cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b"
938
+ checksum = "1a2825c78386b4ae0314074867860ba9577875de945f05992c38815cbec327f0"
930
939
  dependencies = [
931
940
  "cc",
932
941
  "libc",
@@ -934,9 +943,9 @@ dependencies = [
934
943
 
935
944
  [[package]]
936
945
  name = "tikv-jemallocator"
937
- version = "0.6.1"
946
+ version = "0.7.0"
938
947
  source = "registry+https://github.com/rust-lang/crates.io-index"
939
- checksum = "0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a"
948
+ checksum = "249f09e49ab1609436f34c776e84231bead18d6a955f119f939bdc1d847561bd"
940
949
  dependencies = [
941
950
  "libc",
942
951
  "tikv-jemalloc-sys",
@@ -1004,7 +1013,7 @@ dependencies = [
1004
1013
 
1005
1014
  [[package]]
1006
1015
  name = "unref"
1007
- version = "0.3.0"
1016
+ version = "0.3.2"
1008
1017
  dependencies = [
1009
1018
  "clap",
1010
1019
  "encoding_rs",
@@ -1015,6 +1024,7 @@ dependencies = [
1015
1024
  "regex",
1016
1025
  "ruff_python_ast",
1017
1026
  "ruff_python_parser",
1027
+ "ruff_python_stdlib",
1018
1028
  "ruff_source_file",
1019
1029
  "ruff_text_size",
1020
1030
  "rustc-hash",
@@ -1,9 +1,9 @@
1
1
  [package]
2
2
  name = "unref"
3
3
  # The release workflow sets the version from the tag that it releases.
4
- version = "0.3.0"
4
+ version = "0.3.2"
5
5
  edition = "2024"
6
- rust-version = "1.97"
6
+ rust-version = "1.98"
7
7
  description = "An extremely fast Python dead code finder, written in Rust."
8
8
  license = "MIT"
9
9
  repository = "https://github.com/Apakottur/unref"
@@ -23,6 +23,7 @@ toml = { version = "1.2", features = ["preserve_order"] }
23
23
  # Ruff's crates are not published on crates.io, so they are pinned to a release of Ruff.
24
24
  ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "0.17.5" }
25
25
  ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "0.17.5" }
26
+ ruff_python_stdlib = { git = "https://github.com/astral-sh/ruff", tag = "0.17.5" }
26
27
  ruff_source_file = { git = "https://github.com/astral-sh/ruff", tag = "0.17.5" }
27
28
  ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "0.17.5" }
28
29
 
@@ -32,7 +33,7 @@ ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "0.17.5" }
32
33
  mimalloc = { version = "0.1.52", default-features = false, features = ["v2"] }
33
34
 
34
35
  [target.'cfg(all(target_os = "linux", target_arch = "aarch64", target_env = "gnu"))'.dependencies]
35
- tikv-jemallocator = { version = "0.6.0", default-features = false, features = [
36
+ tikv-jemallocator = { version = "0.7.0", default-features = false, features = [
36
37
  "background_threads_runtime_support",
37
38
  ] }
38
39
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unref
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Topic :: Software Development :: Quality Assurance
@@ -44,7 +44,7 @@ An extremely fast Python dead code finder, written in Rust.
44
44
  - **Fast**: 20x faster than [vulture](https://github.com/jendrikseipp/vulture), it checks all of CPython's Python code in
45
45
  under a second.
46
46
  - **Just works**: built-in rules for pytest, Django, Flask, Pydantic, SQLAlchemy and
47
- [more](https://unref.readthedocs.io/en/latest/configuration/#frameworks), so most projects need little or no
47
+ [more](https://unref.readthedocs.io/en/latest/frameworks/), so most projects need little or no
48
48
  configuration.
49
49
  - **Flexible**: works for applications and libraries alike, see
50
50
  [what counts as dead code](https://unref.readthedocs.io/en/latest/faq/#what-counts-as-dead-code).
@@ -74,7 +74,7 @@ repos:
74
74
  - id: ruff-check
75
75
  - id: ruff-format
76
76
  - repo: https://github.com/Apakottur/unref
77
- rev: v0.2.0 # Or run `pre-commit autoupdate`.
77
+ rev: v0.3.2
78
78
  hooks:
79
79
  - id: unref
80
80
  ```