Danger插件:Danger插件可在请求请求中查找todofixme注释

时间:2021-02-01 18:47:16
【文件属性】:
文件名称:Danger插件:Danger插件可在请求请求中查找todofixme注释
文件大小:18KB
文件格式:ZIP
更新时间:2021-02-01 18:47:16
ruby automation ci code-review CodereviewRuby 危险行为 anger-todoist是一个插件,可自动将拉/合并请求代码中剩下的待办事项通知您。 安装 将gem 'danger-todoist'添加到您的Gemfile并开始在Dangerfile使用todoist。 用法 Methods and attributes from this plugin are available in your `Dangerfile` under the `todoist` namespace. 通过警告确保修改后的代码中没有剩余的TODOS todoist.warn_for_todos 通过使构建失败,确保修改后的代码中没有剩余的TODOS todoist.fail_for_todos 设置警告的自定义警告消息todoist.message = "Please fix all TODOS" todoist.warn_for_todos 列出每个待办事项todoist.warn_for_todos todoist.print_todos_table 用待办事项做任何事情。 待办事项具有“文本”和“文件”属性todoist.todos.eac
【文件预览】:
danger-todoist-master
----.gitignore(67B)
----danger-todoist.gemspec(2KB)
----README.md(2KB)
----.codeclimate.yml(67B)
----.rubocop.yml(321B)
----CHANGELOG.md(1KB)
----Gemfile(99B)
----Guardfile(478B)
----Dangerfile(973B)
----spec()
--------fixtures()
--------diff_inline_todo_finder_spec.rb(742B)
--------diff_todo_finder_spec.rb(4KB)
--------todoist_spec.rb(5KB)
--------spec_helper.rb(2KB)
--------matches_in_diff_spec.rb(2KB)
----LICENSE.txt(1KB)
----.travis.yml(271B)
----lib()
--------danger_plugin.rb(125B)
--------danger_todoist.rb(30B)
--------todoist()
----Rakefile(521B)

网友评论