instant-python 0.8.2__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 (363) hide show
  1. {instant_python-0.8.2 → instant_python-0.9.0}/.github/workflows/ci.yml +0 -77
  2. {instant_python-0.8.2 → instant_python-0.9.0}/.github/workflows/release.yml +6 -8
  3. {instant_python-0.8.2 → instant_python-0.9.0}/CHANGELOG.md +1 -1
  4. {instant_python-0.8.2 → instant_python-0.9.0}/PKG-INFO +1 -1
  5. instant_python-0.9.0/docs/guide/command_init.md +622 -0
  6. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/supported_built_in_features.py +4 -0
  7. instant_python-0.9.0/instant_python/templates/boilerplate/.pre-commit-config.yml +71 -0
  8. instant_python-0.9.0/instant_python/templates/boilerplate/CITATION.cff +13 -0
  9. instant_python-0.9.0/instant_python/templates/boilerplate/SECURITY.md +43 -0
  10. instant_python-0.8.2/instant_python/templates/boilerplate/event_bus/aggregate_root.py → instant_python-0.9.0/instant_python/templates/boilerplate/event_bus/event_aggregate.py +2 -1
  11. instant_python-0.9.0/instant_python/templates/boilerplate/exceptions/domain_error.py +6 -0
  12. instant_python-0.9.0/instant_python/templates/boilerplate/exceptions/error.py +24 -0
  13. instant_python-0.9.0/instant_python/templates/boilerplate/fastapi/application.py +68 -0
  14. instant_python-0.9.0/instant_python/templates/boilerplate/fastapi/error_handlers.py +64 -0
  15. instant_python-0.9.0/instant_python/templates/boilerplate/fastapi/error_response.py +31 -0
  16. instant_python-0.9.0/instant_python/templates/boilerplate/fastapi/fastapi_log_middleware.py +33 -0
  17. instant_python-0.9.0/instant_python/templates/boilerplate/fastapi/success_response.py +13 -0
  18. instant_python-0.9.0/instant_python/templates/boilerplate/github/action.yml +35 -0
  19. instant_python-0.9.0/instant_python/templates/boilerplate/github/bug_report.yml +60 -0
  20. instant_python-0.9.0/instant_python/templates/boilerplate/github/ci.yml +199 -0
  21. instant_python-0.9.0/instant_python/templates/boilerplate/github/feature_request.yml +21 -0
  22. instant_python-0.9.0/instant_python/templates/boilerplate/github/release.yml +93 -0
  23. instant_python-0.9.0/instant_python/templates/boilerplate/logger/file_logger.py +56 -0
  24. instant_python-0.9.0/instant_python/templates/boilerplate/logger/file_rotating_handler.py +37 -0
  25. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/logger/json_formatter.py +2 -2
  26. instant_python-0.9.0/instant_python/templates/boilerplate/pyproject.toml +107 -0
  27. instant_python-0.9.0/instant_python/templates/boilerplate/scripts/add_dependency.py +45 -0
  28. instant_python-0.9.0/instant_python/templates/boilerplate/scripts/local_setup.py +12 -0
  29. instant_python-0.9.0/instant_python/templates/boilerplate/scripts/makefile +184 -0
  30. instant_python-0.9.0/instant_python/templates/boilerplate/scripts/post-merge.py +40 -0
  31. instant_python-0.9.0/instant_python/templates/boilerplate/scripts/pre-commit.py +15 -0
  32. instant_python-0.9.0/instant_python/templates/boilerplate/scripts/remove_dependency.py +40 -0
  33. instant_python-0.9.0/instant_python/templates/boilerplate/value_object/aggregate.py +99 -0
  34. instant_python-0.9.0/instant_python/templates/boilerplate/value_object/int_value_object.py +23 -0
  35. instant_python-0.9.0/instant_python/templates/boilerplate/value_object/string_value_object.py +17 -0
  36. instant_python-0.9.0/instant_python/templates/boilerplate/value_object/uuid.py +25 -0
  37. instant_python-0.9.0/instant_python/templates/boilerplate/value_object/validation.py +7 -0
  38. instant_python-0.9.0/instant_python/templates/boilerplate/value_object/value_object.py +119 -0
  39. instant_python-0.9.0/instant_python/templates/project_structure/citation.yml.j2 +3 -0
  40. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/clean_architecture/main_structure.yml.j2 +17 -4
  41. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/domain_driven_design/main_structure.yml.j2 +17 -4
  42. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/event_bus_domain.yml.j2 +20 -4
  43. instant_python-0.9.0/instant_python/templates/project_structure/fastapi_app.yml.j2 +28 -0
  44. instant_python-0.8.2/instant_python/templates/project_structure/logger.yml.j2 → instant_python-0.9.0/instant_python/templates/project_structure/fastapi_domain.yml.j2 +3 -3
  45. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/fastapi_infra.yml.j2 +2 -2
  46. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/github_action.yml.j2 +2 -2
  47. instant_python-0.9.0/instant_python/templates/project_structure/github_issues_template.yml.j2 +12 -0
  48. instant_python-0.9.0/instant_python/templates/project_structure/logger.yml.j2 +13 -0
  49. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/makefile.yml.j2 +7 -16
  50. instant_python-0.8.2/instant_python/templates/project_structure/pre_commit.yml.j2 → instant_python-0.9.0/instant_python/templates/project_structure/precommit_hook.yml.j2 +1 -1
  51. instant_python-0.9.0/instant_python/templates/project_structure/security.yml.j2 +3 -0
  52. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/standard_project/main_structure.yml.j2 +18 -5
  53. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/value_objects.yml.j2 +26 -9
  54. {instant_python-0.8.2 → instant_python-0.9.0}/pyproject.toml +5 -2
  55. {instant_python-0.8.2 → instant_python-0.9.0}/uv.lock +1 -1
  56. instant_python-0.8.2/docs/guide/command_init.md +0 -386
  57. instant_python-0.8.2/instant_python/templates/boilerplate/.pre-commit-config.yml +0 -33
  58. instant_python-0.8.2/instant_python/templates/boilerplate/fastapi/application.py +0 -31
  59. instant_python-0.8.2/instant_python/templates/boilerplate/fastapi/http_response.py +0 -67
  60. instant_python-0.8.2/instant_python/templates/boilerplate/fastapi/status_code.py +0 -9
  61. instant_python-0.8.2/instant_python/templates/boilerplate/github/action.yml +0 -22
  62. instant_python-0.8.2/instant_python/templates/boilerplate/github/lint.yml +0 -30
  63. instant_python-0.8.2/instant_python/templates/boilerplate/github/test.yml +0 -30
  64. instant_python-0.8.2/instant_python/templates/boilerplate/logger/logger.py +0 -48
  65. instant_python-0.8.2/instant_python/templates/boilerplate/pyproject.toml +0 -63
  66. instant_python-0.8.2/instant_python/templates/boilerplate/scripts/add_dependency.sh +0 -37
  67. instant_python-0.8.2/instant_python/templates/boilerplate/scripts/local_setup.sh +0 -15
  68. instant_python-0.8.2/instant_python/templates/boilerplate/scripts/makefile +0 -125
  69. instant_python-0.8.2/instant_python/templates/boilerplate/scripts/post-merge +0 -11
  70. instant_python-0.8.2/instant_python/templates/boilerplate/scripts/pre-commit +0 -4
  71. instant_python-0.8.2/instant_python/templates/boilerplate/scripts/remove_dependency.sh +0 -36
  72. instant_python-0.8.2/instant_python/templates/boilerplate/value_object/int_value_object.py +0 -14
  73. instant_python-0.8.2/instant_python/templates/boilerplate/value_object/string_value_object.py +0 -19
  74. instant_python-0.8.2/instant_python/templates/boilerplate/value_object/uuid.py +0 -17
  75. instant_python-0.8.2/instant_python/templates/boilerplate/value_object/value_object.py +0 -48
  76. instant_python-0.8.2/instant_python/templates/project_structure/fastapi_app.yml.j2 +0 -12
  77. instant_python-0.8.2/instant_python/templates/project_structure/fastapi_domain.yml.j2 +0 -7
  78. instant_python-0.8.2/test/project_creator/resources/boilerplate/exceptions/domain_error.py +0 -22
  79. {instant_python-0.8.2 → instant_python-0.9.0}/.github/FUNDING.yml +0 -0
  80. {instant_python-0.8.2 → instant_python-0.9.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  81. {instant_python-0.8.2 → instant_python-0.9.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  82. {instant_python-0.8.2 → instant_python-0.9.0}/.github/actions/python_setup/action.yml +0 -0
  83. {instant_python-0.8.2 → instant_python-0.9.0}/.github/pull_request_template.md +0 -0
  84. {instant_python-0.8.2 → instant_python-0.9.0}/.github/workflows/pages.yml +0 -0
  85. {instant_python-0.8.2 → instant_python-0.9.0}/.gitignore +0 -0
  86. {instant_python-0.8.2 → instant_python-0.9.0}/.pre-commit-config.yaml +0 -0
  87. {instant_python-0.8.2 → instant_python-0.9.0}/.python-version +0 -0
  88. {instant_python-0.8.2 → instant_python-0.9.0}/CITATION.cff +0 -0
  89. {instant_python-0.8.2 → instant_python-0.9.0}/LICENSE +0 -0
  90. {instant_python-0.8.2 → instant_python-0.9.0}/README.md +0 -0
  91. {instant_python-0.8.2 → instant_python-0.9.0}/SECURITY.md +0 -0
  92. {instant_python-0.8.2 → instant_python-0.9.0}/codeql-config.yml +0 -0
  93. {instant_python-0.8.2 → instant_python-0.9.0}/docs/assets/favicon.svg +0 -0
  94. {instant_python-0.8.2 → instant_python-0.9.0}/docs/assets/logo.svg +0 -0
  95. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/changelog_header.md.j2 +0 -0
  96. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/changelog_init.md.j2 +0 -0
  97. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/changelog_update.md.j2 +0 -0
  98. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/changes.md.j2 +0 -0
  99. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/first_release.md.j2 +0 -0
  100. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/macros.md.j2 +0 -0
  101. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.components/versioned_changes.md.j2 +0 -0
  102. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/.release_notes.md.j2 +0 -0
  103. {instant_python-0.8.2 → instant_python-0.9.0}/docs/changelog/CHANGELOG.md.j2 +0 -0
  104. {instant_python-0.8.2 → instant_python-0.9.0}/docs/downloads_macro.py +0 -0
  105. {instant_python-0.8.2 → instant_python-0.9.0}/docs/examples/configuration.md +0 -0
  106. {instant_python-0.8.2 → instant_python-0.9.0}/docs/examples/custom_template.md +0 -0
  107. {instant_python-0.8.2 → instant_python-0.9.0}/docs/guide/command_config.md +0 -0
  108. {instant_python-0.8.2 → instant_python-0.9.0}/docs/home/contributing.md +0 -0
  109. {instant_python-0.8.2 → instant_python-0.9.0}/docs/home/getting_started.md +0 -0
  110. {instant_python-0.8.2 → instant_python-0.9.0}/docs/home/index.md +0 -0
  111. {instant_python-0.8.2 → instant_python-0.9.0}/docs/home/releases.md +0 -0
  112. {instant_python-0.8.2 → instant_python-0.9.0}/docs/home/security.md +0 -0
  113. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/__init__.py +0 -0
  114. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/cli.py +0 -0
  115. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/commands/__init__.py +0 -0
  116. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/commands/config.py +0 -0
  117. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/commands/init.py +0 -0
  118. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/__init__.py +0 -0
  119. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/configuration_schema.py +0 -0
  120. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/dependency/__init__.py +0 -0
  121. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/dependency/dependency_configuration.py +0 -0
  122. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/dependency/not_dev_dependency_included_in_group.py +0 -0
  123. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/general/__init__.py +0 -0
  124. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/general/general_configuration.py +0 -0
  125. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/general/invalid_dependency_manager_value.py +0 -0
  126. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/general/invalid_license_value.py +0 -0
  127. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/general/invalid_python_version_value.py +0 -0
  128. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/git/__init__.py +0 -0
  129. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/git/git_configuration.py +0 -0
  130. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/git/git_user_or_email_not_present.py +0 -0
  131. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/parser/__init__.py +0 -0
  132. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/parser/config_key_not_present.py +0 -0
  133. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/parser/configuration_file_not_found.py +0 -0
  134. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/parser/empty_configuration_not_allowed.py +0 -0
  135. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/parser/missing_mandatory_fields.py +0 -0
  136. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/parser/parser.py +0 -0
  137. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/__init__.py +0 -0
  138. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/boolean_question.py +0 -0
  139. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/choice_question.py +0 -0
  140. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/conditional_question.py +0 -0
  141. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/free_text_question.py +0 -0
  142. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/multiple_choice_question.py +0 -0
  143. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/question.py +0 -0
  144. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question/questionary.py +0 -0
  145. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/question_wizard.py +0 -0
  146. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/step/__init__.py +0 -0
  147. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/step/dependencies_step.py +0 -0
  148. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/step/general_step.py +0 -0
  149. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/step/git_step.py +0 -0
  150. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/step/steps.py +0 -0
  151. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/step/template_step.py +0 -0
  152. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/template/__init__.py +0 -0
  153. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/template/bounded_context_not_applicable.py +0 -0
  154. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/template/bounded_context_not_especified.py +0 -0
  155. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/template/invalid_built_in_features_values.py +0 -0
  156. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/template/invalid_template_value.py +0 -0
  157. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/configuration/template/template_configuration.py +0 -0
  158. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/__init__.py +0 -0
  159. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/command_execution_error.py +0 -0
  160. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/dependency_manager.py +0 -0
  161. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/dependency_manager_factory.py +0 -0
  162. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/pdm_dependency_manager.py +0 -0
  163. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/unknown_dependency_manager_error.py +0 -0
  164. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/dependency_manager/uv_dependency_manager.py +0 -0
  165. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/formatter/__init__.py +0 -0
  166. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/formatter/project_formatter.py +0 -0
  167. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/git/__init__.py +0 -0
  168. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/git/git_configurer.py +0 -0
  169. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/instant_python_typer.py +0 -0
  170. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/__init__.py +0 -0
  171. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/directory.py +0 -0
  172. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/file.py +0 -0
  173. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/file_has_not_been_created.py +0 -0
  174. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/file_system.py +0 -0
  175. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/node.py +0 -0
  176. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/project_creator/unknown_node_typer_error.py +0 -0
  177. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/__init__.py +0 -0
  178. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/custom_project_renderer.py +0 -0
  179. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/jinja_custom_filters.py +0 -0
  180. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/jinja_environment.py +0 -0
  181. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/jinja_project_renderer.py +0 -0
  182. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/template_file_not_found_error.py +0 -0
  183. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/render/unknown_template_error.py +0 -0
  184. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/__init__.py +0 -0
  185. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/application_error.py +0 -0
  186. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/error_types.py +0 -0
  187. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/supported_licenses.py +0 -0
  188. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/supported_managers.py +0 -0
  189. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/supported_python_versions.py +0 -0
  190. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/shared/supported_templates.py +0 -0
  191. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/.gitignore +0 -0
  192. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/.python-version +0 -0
  193. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/LICENSE +0 -0
  194. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/README.md +0 -0
  195. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/__init__.py +0 -0
  196. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/domain_event.py +0 -0
  197. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/domain_event_json_deserializer.py +0 -0
  198. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/domain_event_json_serializer.py +0 -0
  199. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/domain_event_subscriber.py +0 -0
  200. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/event_bus.py +0 -0
  201. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/exchange_type.py +0 -0
  202. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/mock_event_bus.py +0 -0
  203. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_configurer.py +0 -0
  204. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_connection.py +0 -0
  205. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_consumer.py +0 -0
  206. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_event_bus.py +0 -0
  207. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_queue_formatter.py +0 -0
  208. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_settings.py +0 -0
  209. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/__init__.py +0 -0
  210. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/domain_event_type_not_found_error.py +0 -0
  211. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/incorrect_value_type_error.py +0 -0
  212. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/invalid_id_format_error.py +0 -0
  213. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/invalid_negative_value_error.py +0 -0
  214. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/rabbit_mq_connection_not_established_error.py +0 -0
  215. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/exceptions/required_value_error.py +0 -0
  216. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/fastapi/__init__.py +0 -0
  217. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/fastapi/lifespan.py +0 -0
  218. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/logger/__init__.py +0 -0
  219. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/mypy.ini +0 -0
  220. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/__init__.py +0 -0
  221. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/alembic_migrator.py +0 -0
  222. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/README.md +0 -0
  223. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/__init__.py +0 -0
  224. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/alembic.ini +0 -0
  225. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/async_engine_fixture.py +0 -0
  226. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/env.py +0 -0
  227. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/models_metadata.py +0 -0
  228. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/postgres_settings.py +0 -0
  229. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/script.py.mako +0 -0
  230. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/async/sqlalchemy_repository.py +0 -0
  231. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/base.py +0 -0
  232. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/synchronous/__init__.py +0 -0
  233. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/synchronous/session_maker.py +0 -0
  234. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/persistence/synchronous/sqlalchemy_repository.py +0 -0
  235. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/pytest.ini +0 -0
  236. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/random_generator.py +0 -0
  237. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/scripts/create_aggregate.py +0 -0
  238. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/scripts/insert_template.py +0 -0
  239. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/scripts/integration.sh +0 -0
  240. /instant_python-0.8.2/instant_python/templates/boilerplate/scripts/pre-push → /instant_python-0.9.0/instant_python/templates/boilerplate/scripts/pre-push.py +0 -0
  241. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/scripts/unit.sh +0 -0
  242. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/boilerplate/value_object/__init__.py +0 -0
  243. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/alembic_migrator.yml.j2 +0 -0
  244. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/async_alembic.yml.j2 +0 -0
  245. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/async_sqlalchemy.yml.j2 +0 -0
  246. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/clean_architecture/source.yml.j2 +0 -0
  247. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/clean_architecture/test.yml.j2 +0 -0
  248. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/domain_driven_design/bounded_context.yml.j2 +0 -0
  249. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/domain_driven_design/source.yml.j2 +0 -0
  250. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/domain_driven_design/test.yml.j2 +0 -0
  251. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/event_bus_infra.yml.j2 +0 -0
  252. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/gitignore.yml.j2 +0 -0
  253. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/license.yml.j2 +0 -0
  254. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/macros.j2 +0 -0
  255. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/mypy.yml.j2 +0 -0
  256. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/pyproject.yml.j2 +0 -0
  257. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/pytest.yml.j2 +0 -0
  258. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/python_version.yml.j2 +0 -0
  259. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/readme.yml.j2 +0 -0
  260. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/standard_project/source.yml.j2 +0 -0
  261. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/standard_project/test.yml.j2 +0 -0
  262. {instant_python-0.8.2 → instant_python-0.9.0}/instant_python/templates/project_structure/synchronous_sqlalchemy.yml.j2 +0 -0
  263. {instant_python-0.8.2 → instant_python-0.9.0}/makefile +0 -0
  264. {instant_python-0.8.2 → instant_python-0.9.0}/mkdocs.yml +0 -0
  265. {instant_python-0.8.2 → instant_python-0.9.0}/mypy.ini +0 -0
  266. {instant_python-0.8.2 → instant_python-0.9.0}/scripts/add_dependency.py +0 -0
  267. {instant_python-0.8.2 → instant_python-0.9.0}/scripts/remove_dependency.py +0 -0
  268. {instant_python-0.8.2 → instant_python-0.9.0}/test/__init__.py +0 -0
  269. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/__init__.py +0 -0
  270. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/dependency/__init__.py +0 -0
  271. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/dependency/dependency_configuration_mother.py +0 -0
  272. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/dependency/test_dependency_configuration.py +0 -0
  273. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/general/__init__.py +0 -0
  274. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/general/general_configuration_mother.py +0 -0
  275. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/general/test_general_configuration.py +0 -0
  276. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/git/__init__.py +0 -0
  277. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/git/git_configuration_mother.py +0 -0
  278. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/git/test_git_configuration.py +0 -0
  279. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/__init__.py +0 -0
  280. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/approvaltests_config.json +0 -0
  281. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/approved_files/TestParser.test_should_parse_configuration.approved.txt +0 -0
  282. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/__init__.py +0 -0
  283. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/config.yml +0 -0
  284. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/empty_config.yml +0 -0
  285. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/missing_dependencies_fields_config.yml +0 -0
  286. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/missing_general_fields_config.yml +0 -0
  287. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/missing_git_fields_config.yml +0 -0
  288. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/missing_keys_config.yml +0 -0
  289. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/resources/missing_template_fields_config.yml +0 -0
  290. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/parser/test_parser.py +0 -0
  291. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/question/__init__.py +0 -0
  292. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/question/test_boolean_question.py +0 -0
  293. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/question/test_choice_question.py +0 -0
  294. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/question/test_free_text_question.py +0 -0
  295. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/question/test_multiple_choice_question.py +0 -0
  296. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/template/__init__.py +0 -0
  297. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/template/template_configuration_mother.py +0 -0
  298. {instant_python-0.8.2 → instant_python-0.9.0}/test/configuration/template/test_template_configuration.py +0 -0
  299. {instant_python-0.8.2 → instant_python-0.9.0}/test/dependency_manager/__init__.py +0 -0
  300. {instant_python-0.8.2 → instant_python-0.9.0}/test/dependency_manager/mock_pdm_dependency_manager.py +0 -0
  301. {instant_python-0.8.2 → instant_python-0.9.0}/test/dependency_manager/mock_uv_dependency_manager.py +0 -0
  302. {instant_python-0.8.2 → instant_python-0.9.0}/test/dependency_manager/test_pdm_dependency_manager.py +0 -0
  303. {instant_python-0.8.2 → instant_python-0.9.0}/test/dependency_manager/test_uv_dependency_manager.py +0 -0
  304. {instant_python-0.8.2 → instant_python-0.9.0}/test/formatter/__init__.py +0 -0
  305. {instant_python-0.8.2 → instant_python-0.9.0}/test/formatter/mock_project_formatter.py +0 -0
  306. {instant_python-0.8.2 → instant_python-0.9.0}/test/formatter/test_project_formatter.py +0 -0
  307. {instant_python-0.8.2 → instant_python-0.9.0}/test/git/__init__.py +0 -0
  308. {instant_python-0.8.2 → instant_python-0.9.0}/test/git/mock_git_configurer.py +0 -0
  309. {instant_python-0.8.2 → instant_python-0.9.0}/test/git/test_git_configurer.py +0 -0
  310. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/__init__.py +0 -0
  311. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approvaltests_config.json +0 -0
  312. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_create_file_system_in_disk.rendered_custom_project_structure.json.approved.txt +0 -0
  313. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_create_file_system_in_disk.rendered_project_structure.json.approved.txt +0 -0
  314. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_create_file_system_in_disk.rendered_project_structure_fastapi_with_logger.json.approved.txt +0 -0
  315. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_create_file_system_in_disk.rendered_project_structure_fastapi_with_migrator.json.approved.txt +0 -0
  316. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_create_file_system_in_disk.rendered_project_structure_only_with_fastapi.json.approved.txt +0 -0
  317. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_create_folders_and_files.approved.txt +0 -0
  318. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/approved_files/TestFileSystem.test_should_generate_file_system_tree.approved.txt +0 -0
  319. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/directory_mother.py +0 -0
  320. {instant_python-0.8.2/instant_python/templates → instant_python-0.9.0/test/project_creator/resources}/boilerplate/exceptions/domain_error.py +0 -0
  321. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/exceptions/domain_error_simple.py +0 -0
  322. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/fastapi/__init__.py +0 -0
  323. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/fastapi/application.py +0 -0
  324. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/fastapi/http_response.py +0 -0
  325. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/fastapi/lifespan.py +0 -0
  326. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/logger/__init__.py +0 -0
  327. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/logger/logger.py +0 -0
  328. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/boilerplate/persistence/alembic_migrator.py +0 -0
  329. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/clean_architecture/main_structure.yml.j2 +0 -0
  330. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/config.yml +0 -0
  331. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/config_fastapi_with_logger.yml +0 -0
  332. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/config_fastapi_with_migrator.yml +0 -0
  333. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/config_with_only_fastapi.yml +0 -0
  334. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/rendered_custom_project_structure.json +0 -0
  335. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/rendered_project_structure.json +0 -0
  336. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/rendered_project_structure_fastapi_with_logger.json +0 -0
  337. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/rendered_project_structure_fastapi_with_migrator.json +0 -0
  338. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/resources/rendered_project_structure_only_with_fastapi.json +0 -0
  339. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/test_directory.py +0 -0
  340. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/test_file.py +0 -0
  341. {instant_python-0.8.2 → instant_python-0.9.0}/test/project_creator/test_file_system.py +0 -0
  342. {instant_python-0.8.2 → instant_python-0.9.0}/test/random_generator.py +0 -0
  343. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/__init__.py +0 -0
  344. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approvaltests_config.json +0 -0
  345. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approved_files/TestCustomProjectRenderer.test_should_render_custom_template.approved.txt +0 -0
  346. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approved_files/TestJinjaProjectRenderer.test_should_render_template_for.clean_architecture_config.yml.approved.txt +0 -0
  347. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approved_files/TestJinjaProjectRenderer.test_should_render_template_for.domain_driven_design_config.yml.approved.txt +0 -0
  348. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approved_files/TestJinjaProjectRenderer.test_should_render_template_for.received.txt +0 -0
  349. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approved_files/TestJinjaProjectRenderer.test_should_render_template_for.standard_project_with_dependency_config.yml.approved.txt +0 -0
  350. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/approved_files/TestJinjaProjectRenderer.test_should_render_template_for.standard_project_with_git_config.yml.approved.txt +0 -0
  351. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/clean_architecture/main_structure.yml.j2 +0 -0
  352. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/clean_architecture_config.yml +0 -0
  353. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/custom_template.yml +0 -0
  354. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/domain_driven_design/main_structure.yml.j2 +0 -0
  355. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/domain_driven_design_config.yml +0 -0
  356. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/standard_project/main_structure.yml.j2 +0 -0
  357. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/standard_project_with_dependency_config.yml +0 -0
  358. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/standard_project_with_git_config.yml +0 -0
  359. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/resources/test_template.j2 +0 -0
  360. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/test_custom_project_renderer.py +0 -0
  361. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/test_jinja_environment.py +0 -0
  362. {instant_python-0.8.2 → instant_python-0.9.0}/test/render/test_jinja_project_renderer.py +0 -0
  363. {instant_python-0.8.2 → instant_python-0.9.0}/tox.ini +0 -0
@@ -10,25 +10,9 @@ permissions:
10
10
  id-token: write
11
11
 
12
12
  jobs:
13
- check_user:
14
- name: check-user
15
- runs-on: ubuntu-latest
16
- outputs:
17
- should_run: ${{ github.actor == 'dimanu-py' }}
18
- steps:
19
- - name: 🛡️ Harden runner
20
- uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
21
- with:
22
- egress-policy: audit
23
-
24
- - name: 👍 Check triggering user
25
- run: echo "Workflow triggered by ${{ github.actor }}"
26
-
27
13
  lint:
28
14
  name: lint
29
15
  runs-on: ubuntu-latest
30
- needs: check_user
31
- if: ${{ needs.check_user.outputs.should_run == 'true' }}
32
16
  steps:
33
17
  - name: 🛡️ Harden runner
34
18
  uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
@@ -47,42 +31,11 @@ jobs:
47
31
 
48
32
  - name: 🧐 Check linting
49
33
  id: check_lint
50
- run: |
51
- git pull --rebase origin main
52
- uvx ruff check --exclude "instant_python/templates,test/**/resources/**" instant_python test
53
- continue-on-error: true
54
-
55
- - name: 🚨 Auto fix lint errors
56
- id: fix_lint
57
- if: ${{ steps.check_lint.outcome == 'failure' }}
58
- run: |
59
- git pull --rebase origin main
60
- uvx ruff check --fix --exclude "instant_python/templates,test/**/resources/**" instant_python test
61
-
62
- - name: ✏️ Commit lint fixes
63
- if: ${{ steps.fix_lint.outcome == 'success' }}
64
- run: |
65
- git config user.name ${{ vars.GIT_COMMITTER_NAME }}
66
- git config user.email ${{ vars.GIT_COMMITTER_EMAIL }}
67
-
68
- if git diff --quiet; then
69
- echo "No changes to commit."
70
- else
71
- git add .
72
- git commit -m "🚨 chore: fix linting issues via GitHub Actions"
73
- git push
74
- fi
75
- env:
76
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77
-
78
- - name: 🧐 Check linting again
79
34
  run: uvx ruff check --exclude "instant_python/templates,test/**/resources/**" instant_python test
80
35
 
81
36
  format:
82
37
  name: format
83
38
  runs-on: ubuntu-latest
84
- needs: check_user
85
- if: ${{ needs.check_user.outputs.should_run == 'true' }}
86
39
  steps:
87
40
  - name: 🛡️ Harden runner
88
41
  uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
@@ -101,35 +54,6 @@ jobs:
101
54
 
102
55
  - name: 🧐 Check code format
103
56
  id: check_format
104
- run: |
105
- git pull --rebase origin main
106
- uvx ruff format --check --exclude "instant_python/templates,test/**/resources/**" instant_python test
107
- continue-on-error: true
108
-
109
- - name: 🎨 Auto format code
110
- id: format_code
111
- if: ${{ steps.check_format.outcome == 'failure' }}
112
- run: |
113
- git pull --rebase origin main
114
- uvx ruff format --exclude "instant_python/templates,test/**/resources/**" instant_python test
115
-
116
- - name: ✏️ Commit formatted code
117
- if: ${{ steps.format_code.outcome == 'success' }}
118
- run: |
119
- git config user.name ${{ vars.GIT_COMMITTER_NAME }}
120
- git config user.email ${{ vars.GIT_COMMITTER_EMAIL }}
121
-
122
- if git diff --quiet; then
123
- echo "No changes to commit."
124
- else
125
- git add .
126
- git commit -m "🎨 style: format code via GitHub Actions"
127
- git push
128
- fi
129
- env:
130
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131
-
132
- - name: 🧐 Check code format again
133
57
  run: uvx ruff format --check --exclude "instant_python/templates,test/**/resources/**" instant_python test
134
58
 
135
59
  analyze-code-quality:
@@ -165,7 +89,6 @@ jobs:
165
89
  with:
166
90
  category: '/language:python'
167
91
 
168
-
169
92
  secrets:
170
93
  name: secrets-scan
171
94
  runs-on: ubuntu-latest
@@ -9,8 +9,6 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  permissions:
11
11
  contents: write
12
- pull-requests: write
13
-
14
12
  outputs:
15
13
  released: ${{ steps.released.outputs.released }}
16
14
  tag: ${{ steps.released.outputs.tag }}
@@ -27,11 +25,11 @@ jobs:
27
25
  fetch-depth: 0
28
26
  persist-credentials: false
29
27
 
30
- - name: 🔖 Semantic Release
28
+ - name: 🔖 Create release
31
29
  id: released
32
30
  uses: python-semantic-release/python-semantic-release@2896129e02bb7809d2cf0c1b8e9e795ee27acbcf # v10.0.2
33
31
  with:
34
- build: false
32
+ build: true
35
33
  push: true
36
34
  changelog: true
37
35
  commit: true
@@ -45,12 +43,12 @@ jobs:
45
43
  ssh_private_signing_key: ${{ secrets.SSH_PRIVATE_SIGNING_KEY }}
46
44
 
47
45
  build-and-publish:
48
- name: Publish Release to PyPI Workflow
49
- needs: release
50
- if: needs.release.result == 'success' && needs.release.outputs.released == 'true'
46
+ name: Publish to PyPI
47
+ needs:
48
+ - release
49
+ if: needs.release.outputs.released == 'true'
51
50
  runs-on: ubuntu-latest
52
51
  environment: release
53
-
54
52
  permissions:
55
53
  id-token: write
56
54
 
@@ -1,6 +1,6 @@
1
1
  # CHANGELOG
2
2
 
3
- ## v0.9.0 (2025-07-15)
3
+ ## v0.8.2 (2025-07-16)
4
4
 
5
5
  ### 🪲 Bug Fixes
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: instant-python
3
- Version: 0.8.2
3
+ Version: 0.9.0
4
4
  Summary: Instant boilerplate generation for Python projects
5
5
  Project-URL: documentation, https://dimanu-py.github.io/instant-python/
6
6
  Project-URL: repository, https://github.com/dimanu-py/instant-python/