Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/result_root.rb: resolve rubocop Naming/AccessorMethodName issue #402

Open
rli9 opened this issue Feb 5, 2025 · 0 comments
Open

lib/result_root.rb: resolve rubocop Naming/AccessorMethodName issue #402

rli9 opened this issue Feb 5, 2025 · 0 comments

Comments

@rli9
Copy link

rli9 commented Feb 5, 2025

Reproduce

lkp-tests$ rubocop lib/result_root.rb
lib/result_root.rb:101:7: C: Naming/AccessorMethodName: Do not prefix writer method names with set_.
  def set_date_glob(glob)
      ^^^^^^^^^^^^^
lib/result_root.rb:105:7: C: Naming/AccessorMethodName: Do not prefix writer method names with set_.
  def set_date(time)
      ^^^^^^^^
lib/result_root.rb:109:7: C: Naming/AccessorMethodName: Do not prefix writer method names with set_.
  def set_queue(queue)
      ^^^^^^^^^

Reference
https://github.com/intel/lkp-tests/wiki/Coding-Standard#rubocop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant