thebleep 4.0.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.

Potentially problematic release.


This version of thebleep might be problematic. Click here for more details.

Files changed (266) hide show
  1. thebleep-4.0.0/LICENSE.md +23 -0
  2. thebleep-4.0.0/MANIFEST.in +1 -0
  3. thebleep-4.0.0/PKG-INFO +1327 -0
  4. thebleep-4.0.0/README.md +1276 -0
  5. thebleep-4.0.0/pyproject.toml +3 -0
  6. thebleep-4.0.0/setup.cfg +4 -0
  7. thebleep-4.0.0/setup.py +155 -0
  8. thebleep-4.0.0/tests/test_argument_parser.py +131 -0
  9. thebleep-4.0.0/tests/test_conf.py +272 -0
  10. thebleep-4.0.0/tests/test_corrector.py +148 -0
  11. thebleep-4.0.0/tests/test_determinism.py +98 -0
  12. thebleep-4.0.0/tests/test_explain.py +248 -0
  13. thebleep-4.0.0/tests/test_injection.py +153 -0
  14. thebleep-4.0.0/tests/test_install_sh.py +123 -0
  15. thebleep-4.0.0/tests/test_large_output.py +192 -0
  16. thebleep-4.0.0/tests/test_logs.py +56 -0
  17. thebleep-4.0.0/tests/test_no_home_directory.py +163 -0
  18. thebleep-4.0.0/tests/test_packaging.py +95 -0
  19. thebleep-4.0.0/tests/test_performance.py +268 -0
  20. thebleep-4.0.0/tests/test_pypi_readme.py +135 -0
  21. thebleep-4.0.0/tests/test_readme.py +20 -0
  22. thebleep-4.0.0/tests/test_readme_claims.py +424 -0
  23. thebleep-4.0.0/tests/test_release_script.py +293 -0
  24. thebleep-4.0.0/tests/test_release_state.py +100 -0
  25. thebleep-4.0.0/tests/test_replay.py +395 -0
  26. thebleep-4.0.0/tests/test_rule_quality.py +190 -0
  27. thebleep-4.0.0/tests/test_rulepack.py +477 -0
  28. thebleep-4.0.0/tests/test_rulepack_equivalence.py +362 -0
  29. thebleep-4.0.0/tests/test_streams.py +40 -0
  30. thebleep-4.0.0/tests/test_system_unix.py +52 -0
  31. thebleep-4.0.0/tests/test_types.py +199 -0
  32. thebleep-4.0.0/tests/test_ui.py +209 -0
  33. thebleep-4.0.0/tests/test_utils.py +474 -0
  34. thebleep-4.0.0/tests/test_windows_names.py +93 -0
  35. thebleep-4.0.0/tests/test_wrappers.py +159 -0
  36. thebleep-4.0.0/thebleep/__init__.py +0 -0
  37. thebleep-4.0.0/thebleep/__main__.py +16 -0
  38. thebleep-4.0.0/thebleep/argument_parser.py +203 -0
  39. thebleep-4.0.0/thebleep/cachefile.py +89 -0
  40. thebleep-4.0.0/thebleep/conf.py +232 -0
  41. thebleep-4.0.0/thebleep/const.py +170 -0
  42. thebleep-4.0.0/thebleep/corrector.py +229 -0
  43. thebleep-4.0.0/thebleep/entrypoints/__init__.py +0 -0
  44. thebleep-4.0.0/thebleep/entrypoints/alias.py +60 -0
  45. thebleep-4.0.0/thebleep/entrypoints/doctor.py +469 -0
  46. thebleep-4.0.0/thebleep/entrypoints/fix_command.py +71 -0
  47. thebleep-4.0.0/thebleep/entrypoints/main.py +92 -0
  48. thebleep-4.0.0/thebleep/entrypoints/not_configured.py +112 -0
  49. thebleep-4.0.0/thebleep/entrypoints/shell_logger.py +257 -0
  50. thebleep-4.0.0/thebleep/exceptions.py +10 -0
  51. thebleep-4.0.0/thebleep/explain.py +169 -0
  52. thebleep-4.0.0/thebleep/logs.py +338 -0
  53. thebleep-4.0.0/thebleep/output_readers/__init__.py +76 -0
  54. thebleep-4.0.0/thebleep/output_readers/read_log.py +142 -0
  55. thebleep-4.0.0/thebleep/output_readers/rerun.py +140 -0
  56. thebleep-4.0.0/thebleep/output_readers/shell_logger.py +59 -0
  57. thebleep-4.0.0/thebleep/replay.py +198 -0
  58. thebleep-4.0.0/thebleep/rulepack.py +576 -0
  59. thebleep-4.0.0/thebleep/rules/__init__.py +0 -0
  60. thebleep-4.0.0/thebleep/rules/adb_unknown_command.py +54 -0
  61. thebleep-4.0.0/thebleep/rules/ag_literal.py +10 -0
  62. thebleep-4.0.0/thebleep/rules/apt_get.py +60 -0
  63. thebleep-4.0.0/thebleep/rules/apt_get_search.py +14 -0
  64. thebleep-4.0.0/thebleep/rules/apt_invalid_operation.py +63 -0
  65. thebleep-4.0.0/thebleep/rules/apt_list_upgradable.py +16 -0
  66. thebleep-4.0.0/thebleep/rules/apt_upgrade.py +16 -0
  67. thebleep-4.0.0/thebleep/rules/aws_cli.py +17 -0
  68. thebleep-4.0.0/thebleep/rules/az_cli.py +44 -0
  69. thebleep-4.0.0/thebleep/rules/brew_cask_dependency.py +40 -0
  70. thebleep-4.0.0/thebleep/rules/brew_install.py +35 -0
  71. thebleep-4.0.0/thebleep/rules/brew_link.py +17 -0
  72. thebleep-4.0.0/thebleep/rules/brew_reinstall.py +21 -0
  73. thebleep-4.0.0/thebleep/rules/brew_uninstall.py +14 -0
  74. thebleep-4.0.0/thebleep/rules/brew_unknown_command.py +88 -0
  75. thebleep-4.0.0/thebleep/rules/brew_update_formula.py +12 -0
  76. thebleep-4.0.0/thebleep/rules/cargo.py +6 -0
  77. thebleep-4.0.0/thebleep/rules/cargo_no_command.py +21 -0
  78. thebleep-4.0.0/thebleep/rules/cat_dir.py +14 -0
  79. thebleep-4.0.0/thebleep/rules/cd_correction.py +53 -0
  80. thebleep-4.0.0/thebleep/rules/cd_cs.py +21 -0
  81. thebleep-4.0.0/thebleep/rules/cd_mkdir.py +24 -0
  82. thebleep-4.0.0/thebleep/rules/cd_parent.py +16 -0
  83. thebleep-4.0.0/thebleep/rules/chmod_x.py +61 -0
  84. thebleep-4.0.0/thebleep/rules/choco_install.py +25 -0
  85. thebleep-4.0.0/thebleep/rules/composer_not_command.py +40 -0
  86. thebleep-4.0.0/thebleep/rules/conda_mistype.py +17 -0
  87. thebleep-4.0.0/thebleep/rules/cp_create_destination.py +17 -0
  88. thebleep-4.0.0/thebleep/rules/cp_omitting_directory.py +15 -0
  89. thebleep-4.0.0/thebleep/rules/cpp11.py +12 -0
  90. thebleep-4.0.0/thebleep/rules/dirty_untar.py +43 -0
  91. thebleep-4.0.0/thebleep/rules/dirty_unzip.py +61 -0
  92. thebleep-4.0.0/thebleep/rules/django_south_ghost.py +8 -0
  93. thebleep-4.0.0/thebleep/rules/django_south_merge.py +8 -0
  94. thebleep-4.0.0/thebleep/rules/dnf_no_such_command.py +37 -0
  95. thebleep-4.0.0/thebleep/rules/docker_daemon_not_running.py +53 -0
  96. thebleep-4.0.0/thebleep/rules/docker_image_being_used_by_container.py +21 -0
  97. thebleep-4.0.0/thebleep/rules/docker_login.py +14 -0
  98. thebleep-4.0.0/thebleep/rules/docker_not_command.py +91 -0
  99. thebleep-4.0.0/thebleep/rules/dry.py +15 -0
  100. thebleep-4.0.0/thebleep/rules/fab_command_not_found.py +38 -0
  101. thebleep-4.0.0/thebleep/rules/fix_alt_space.py +15 -0
  102. thebleep-4.0.0/thebleep/rules/fix_file.py +80 -0
  103. thebleep-4.0.0/thebleep/rules/gem_unknown_command.py +41 -0
  104. thebleep-4.0.0/thebleep/rules/git_add.py +27 -0
  105. thebleep-4.0.0/thebleep/rules/git_add_force.py +13 -0
  106. thebleep-4.0.0/thebleep/rules/git_bisect_usage.py +16 -0
  107. thebleep-4.0.0/thebleep/rules/git_branch_0flag.py +27 -0
  108. thebleep-4.0.0/thebleep/rules/git_branch_delete.py +13 -0
  109. thebleep-4.0.0/thebleep/rules/git_branch_delete_checked_out.py +52 -0
  110. thebleep-4.0.0/thebleep/rules/git_branch_exists.py +28 -0
  111. thebleep-4.0.0/thebleep/rules/git_branch_list.py +14 -0
  112. thebleep-4.0.0/thebleep/rules/git_checkout.py +61 -0
  113. thebleep-4.0.0/thebleep/rules/git_clone_git_clone.py +12 -0
  114. thebleep-4.0.0/thebleep/rules/git_clone_missing.py +42 -0
  115. thebleep-4.0.0/thebleep/rules/git_commit_add.py +17 -0
  116. thebleep-4.0.0/thebleep/rules/git_commit_amend.py +11 -0
  117. thebleep-4.0.0/thebleep/rules/git_commit_reset.py +11 -0
  118. thebleep-4.0.0/thebleep/rules/git_diff_no_index.py +16 -0
  119. thebleep-4.0.0/thebleep/rules/git_diff_staged.py +13 -0
  120. thebleep-4.0.0/thebleep/rules/git_dubious_ownership.py +26 -0
  121. thebleep-4.0.0/thebleep/rules/git_fix_stash.py +37 -0
  122. thebleep-4.0.0/thebleep/rules/git_flag_after_filename.py +31 -0
  123. thebleep-4.0.0/thebleep/rules/git_help_aliased.py +12 -0
  124. thebleep-4.0.0/thebleep/rules/git_hook_bypass.py +27 -0
  125. thebleep-4.0.0/thebleep/rules/git_lfs_mistype.py +18 -0
  126. thebleep-4.0.0/thebleep/rules/git_main_master.py +16 -0
  127. thebleep-4.0.0/thebleep/rules/git_merge.py +18 -0
  128. thebleep-4.0.0/thebleep/rules/git_merge_unrelated.py +12 -0
  129. thebleep-4.0.0/thebleep/rules/git_not_command.py +18 -0
  130. thebleep-4.0.0/thebleep/rules/git_pull.py +16 -0
  131. thebleep-4.0.0/thebleep/rules/git_pull_clone.py +13 -0
  132. thebleep-4.0.0/thebleep/rules/git_pull_uncommitted_changes.py +14 -0
  133. thebleep-4.0.0/thebleep/rules/git_push.py +44 -0
  134. thebleep-4.0.0/thebleep/rules/git_push_different_branch_names.py +12 -0
  135. thebleep-4.0.0/thebleep/rules/git_push_force.py +18 -0
  136. thebleep-4.0.0/thebleep/rules/git_push_pull.py +20 -0
  137. thebleep-4.0.0/thebleep/rules/git_push_without_commits.py +12 -0
  138. thebleep-4.0.0/thebleep/rules/git_rebase_merge_dir.py +17 -0
  139. thebleep-4.0.0/thebleep/rules/git_rebase_no_changes.py +13 -0
  140. thebleep-4.0.0/thebleep/rules/git_remote_delete.py +13 -0
  141. thebleep-4.0.0/thebleep/rules/git_remote_seturl_add.py +12 -0
  142. thebleep-4.0.0/thebleep/rules/git_rm_local_modifications.py +19 -0
  143. thebleep-4.0.0/thebleep/rules/git_rm_recursive.py +16 -0
  144. thebleep-4.0.0/thebleep/rules/git_rm_staged.py +19 -0
  145. thebleep-4.0.0/thebleep/rules/git_stash.py +14 -0
  146. thebleep-4.0.0/thebleep/rules/git_stash_pop.py +18 -0
  147. thebleep-4.0.0/thebleep/rules/git_tag_force.py +13 -0
  148. thebleep-4.0.0/thebleep/rules/git_two_dashes.py +14 -0
  149. thebleep-4.0.0/thebleep/rules/go_run.py +16 -0
  150. thebleep-4.0.0/thebleep/rules/go_unknown_command.py +28 -0
  151. thebleep-4.0.0/thebleep/rules/gradle_no_task.py +39 -0
  152. thebleep-4.0.0/thebleep/rules/gradle_wrapper.py +13 -0
  153. thebleep-4.0.0/thebleep/rules/grep_arguments_order.py +23 -0
  154. thebleep-4.0.0/thebleep/rules/grep_recursive.py +10 -0
  155. thebleep-4.0.0/thebleep/rules/grunt_task_not_found.py +40 -0
  156. thebleep-4.0.0/thebleep/rules/gulp_not_task.py +22 -0
  157. thebleep-4.0.0/thebleep/rules/has_exists_script.py +13 -0
  158. thebleep-4.0.0/thebleep/rules/heroku_multiple_apps.py +13 -0
  159. thebleep-4.0.0/thebleep/rules/heroku_not_command.py +11 -0
  160. thebleep-4.0.0/thebleep/rules/history.py +15 -0
  161. thebleep-4.0.0/thebleep/rules/hostscli.py +27 -0
  162. thebleep-4.0.0/thebleep/rules/ifconfig_device_not_found.py +23 -0
  163. thebleep-4.0.0/thebleep/rules/java.py +17 -0
  164. thebleep-4.0.0/thebleep/rules/javac.py +18 -0
  165. thebleep-4.0.0/thebleep/rules/lein_not_task.py +19 -0
  166. thebleep-4.0.0/thebleep/rules/ln_no_hard_link.py +23 -0
  167. thebleep-4.0.0/thebleep/rules/ln_s_order.py +26 -0
  168. thebleep-4.0.0/thebleep/rules/long_form_help.py +27 -0
  169. thebleep-4.0.0/thebleep/rules/ls_all.py +10 -0
  170. thebleep-4.0.0/thebleep/rules/ls_lah.py +12 -0
  171. thebleep-4.0.0/thebleep/rules/man.py +42 -0
  172. thebleep-4.0.0/thebleep/rules/man_no_space.py +10 -0
  173. thebleep-4.0.0/thebleep/rules/mercurial.py +27 -0
  174. thebleep-4.0.0/thebleep/rules/missing_space_before_subcommand.py +36 -0
  175. thebleep-4.0.0/thebleep/rules/mkdir_p.py +29 -0
  176. thebleep-4.0.0/thebleep/rules/mvn_no_command.py +11 -0
  177. thebleep-4.0.0/thebleep/rules/mvn_unknown_lifecycle_phase.py +30 -0
  178. thebleep-4.0.0/thebleep/rules/nixos_cmd_not_found.py +16 -0
  179. thebleep-4.0.0/thebleep/rules/no_command.py +41 -0
  180. thebleep-4.0.0/thebleep/rules/no_such_file.py +30 -0
  181. thebleep-4.0.0/thebleep/rules/npm_missing_script.py +22 -0
  182. thebleep-4.0.0/thebleep/rules/npm_run_script.py +17 -0
  183. thebleep-4.0.0/thebleep/rules/npm_wrong_command.py +74 -0
  184. thebleep-4.0.0/thebleep/rules/omnienv_no_such_command.py +38 -0
  185. thebleep-4.0.0/thebleep/rules/open.py +40 -0
  186. thebleep-4.0.0/thebleep/rules/pacman.py +17 -0
  187. thebleep-4.0.0/thebleep/rules/pacman_invalid_option.py +24 -0
  188. thebleep-4.0.0/thebleep/rules/pacman_not_found.py +31 -0
  189. thebleep-4.0.0/thebleep/rules/path_from_history.py +53 -0
  190. thebleep-4.0.0/thebleep/rules/php_s.py +11 -0
  191. thebleep-4.0.0/thebleep/rules/ping_url.py +99 -0
  192. thebleep-4.0.0/thebleep/rules/pip_externally_managed.py +105 -0
  193. thebleep-4.0.0/thebleep/rules/pip_install.py +24 -0
  194. thebleep-4.0.0/thebleep/rules/pip_unknown_command.py +19 -0
  195. thebleep-4.0.0/thebleep/rules/port_already_in_use.py +44 -0
  196. thebleep-4.0.0/thebleep/rules/prove_recursively.py +27 -0
  197. thebleep-4.0.0/thebleep/rules/python_command.py +17 -0
  198. thebleep-4.0.0/thebleep/rules/python_execute.py +15 -0
  199. thebleep-4.0.0/thebleep/rules/python_module_error.py +54 -0
  200. thebleep-4.0.0/thebleep/rules/quotation_marks.py +37 -0
  201. thebleep-4.0.0/thebleep/rules/rails_migrations_pending.py +14 -0
  202. thebleep-4.0.0/thebleep/rules/react_native_command_unrecognized.py +34 -0
  203. thebleep-4.0.0/thebleep/rules/remove_shell_prompt_literal.py +23 -0
  204. thebleep-4.0.0/thebleep/rules/remove_trailing_cedilla.py +11 -0
  205. thebleep-4.0.0/thebleep/rules/rm_dir.py +34 -0
  206. thebleep-4.0.0/thebleep/rules/rm_root.py +16 -0
  207. thebleep-4.0.0/thebleep/rules/scm_correction.py +35 -0
  208. thebleep-4.0.0/thebleep/rules/sed_unterminated_s.py +18 -0
  209. thebleep-4.0.0/thebleep/rules/sl_ls.py +14 -0
  210. thebleep-4.0.0/thebleep/rules/ssh_known_hosts.py +77 -0
  211. thebleep-4.0.0/thebleep/rules/sudo.py +74 -0
  212. thebleep-4.0.0/thebleep/rules/sudo_command_from_user_path.py +23 -0
  213. thebleep-4.0.0/thebleep/rules/switch_lang.py +117 -0
  214. thebleep-4.0.0/thebleep/rules/systemctl.py +22 -0
  215. thebleep-4.0.0/thebleep/rules/terraform_init.py +22 -0
  216. thebleep-4.0.0/thebleep/rules/terraform_no_command.py +16 -0
  217. thebleep-4.0.0/thebleep/rules/test.py.py +10 -0
  218. thebleep-4.0.0/thebleep/rules/tmux.py +18 -0
  219. thebleep-4.0.0/thebleep/rules/touch.py +22 -0
  220. thebleep-4.0.0/thebleep/rules/tsuru_login.py +12 -0
  221. thebleep-4.0.0/thebleep/rules/tsuru_not_command.py +15 -0
  222. thebleep-4.0.0/thebleep/rules/unknown_command.py +19 -0
  223. thebleep-4.0.0/thebleep/rules/unsudo.py +13 -0
  224. thebleep-4.0.0/thebleep/rules/vagrant_up.py +22 -0
  225. thebleep-4.0.0/thebleep/rules/whois.py +43 -0
  226. thebleep-4.0.0/thebleep/rules/workon_doesnt_exists.py +32 -0
  227. thebleep-4.0.0/thebleep/rules/wrong_hyphen_before_subcommand.py +20 -0
  228. thebleep-4.0.0/thebleep/rules/yarn_alias.py +14 -0
  229. thebleep-4.0.0/thebleep/rules/yarn_command_not_found.py +43 -0
  230. thebleep-4.0.0/thebleep/rules/yarn_command_replaced.py +13 -0
  231. thebleep-4.0.0/thebleep/rules/yarn_help.py +17 -0
  232. thebleep-4.0.0/thebleep/rules/yum_invalid_operation.py +39 -0
  233. thebleep-4.0.0/thebleep/shells/__init__.py +85 -0
  234. thebleep-4.0.0/thebleep/shells/bash.py +164 -0
  235. thebleep-4.0.0/thebleep/shells/fish.py +176 -0
  236. thebleep-4.0.0/thebleep/shells/generic.py +315 -0
  237. thebleep-4.0.0/thebleep/shells/nushell.py +408 -0
  238. thebleep-4.0.0/thebleep/shells/powershell.py +157 -0
  239. thebleep-4.0.0/thebleep/shells/tcsh.py +67 -0
  240. thebleep-4.0.0/thebleep/shells/zsh.py +132 -0
  241. thebleep-4.0.0/thebleep/specific/__init__.py +0 -0
  242. thebleep-4.0.0/thebleep/specific/apt.py +3 -0
  243. thebleep-4.0.0/thebleep/specific/archlinux.py +59 -0
  244. thebleep-4.0.0/thebleep/specific/brew.py +21 -0
  245. thebleep-4.0.0/thebleep/specific/dnf.py +3 -0
  246. thebleep-4.0.0/thebleep/specific/git.py +31 -0
  247. thebleep-4.0.0/thebleep/specific/nix.py +3 -0
  248. thebleep-4.0.0/thebleep/specific/npm.py +21 -0
  249. thebleep-4.0.0/thebleep/specific/sudo.py +17 -0
  250. thebleep-4.0.0/thebleep/specific/yum.py +3 -0
  251. thebleep-4.0.0/thebleep/system/__init__.py +7 -0
  252. thebleep-4.0.0/thebleep/system/paths.py +63 -0
  253. thebleep-4.0.0/thebleep/system/streams.py +28 -0
  254. thebleep-4.0.0/thebleep/system/unix.py +95 -0
  255. thebleep-4.0.0/thebleep/system/win32.py +84 -0
  256. thebleep-4.0.0/thebleep/types.py +331 -0
  257. thebleep-4.0.0/thebleep/ui.py +174 -0
  258. thebleep-4.0.0/thebleep/utils.py +607 -0
  259. thebleep-4.0.0/thebleep/wrappers.py +322 -0
  260. thebleep-4.0.0/thebleep.egg-info/PKG-INFO +1327 -0
  261. thebleep-4.0.0/thebleep.egg-info/SOURCES.txt +264 -0
  262. thebleep-4.0.0/thebleep.egg-info/dependency_links.txt +1 -0
  263. thebleep-4.0.0/thebleep.egg-info/entry_points.txt +3 -0
  264. thebleep-4.0.0/thebleep.egg-info/not-zip-safe +1 -0
  265. thebleep-4.0.0/thebleep.egg-info/requires.txt +5 -0
  266. thebleep-4.0.0/thebleep.egg-info/top_level.txt +1 -0
@@ -0,0 +1,23 @@
1
+ The MIT License (MIT)
2
+ =====================
3
+
4
+ Copyright (c) 2026 Miroslav Stampar
5
+ Copyright (c) 2015-2022 Vladimir Iakovlev
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ include LICENSE.md