• 
      

    ReviewBot tool Reek

    Review Request #7231 — Created April 21, 2015 and discarded

    Information

    ReviewBot
    release-0.2.x

    Reviewers

    Reek is a code smell detection for Ruby.It can examine Ruby classes, modules and methods and reports any Code Smells it finds.
    It's similar to pep8. So I imitate the file named pep8.py when I writing this document.
    This document tries to use the reek as a plugin to detect the file ending with ".rb".

    gem install reek
    reek [options] [dir_or_source_file]*

    Description From Last Updated

    The first line in this file should be: from __future__ import unicode_literals

    brenniebrennie

    Needs a docstring.

    brenniebrennie

    Col: 80 E501 line too long (83 > 79 characters)

    reviewbotreviewbot

    No blank line here.

    brenniebrennie

    Blank line between statement and block.

    brenniebrennie

    Can we pull this out into a variable (say reek_cmd)?

    brenniebrennie

    Col: 80 E501 line too long (88 > 79 characters)

    reviewbotreviewbot

    Can you add a comment with example line output of reek ?

    brenniebrennie

    Col: 1 E112 expected an indented block

    reviewbotreviewbot

    Col: 5 E113 unexpected indentation

    reviewbotreviewbot

    Col: 1 E101 indentation contains mixed spaces and tabs

    reviewbotreviewbot

    Col: 1 W191 indentation contains tabs

    reviewbotreviewbot

    Col: 16 E131 continuation line unaligned for hanging indent

    reviewbotreviewbot

    Col: 1 E101 indentation contains mixed spaces and tabs

    reviewbotreviewbot

    Col: 2 E122 continuation line missing indentation or outdented

    reviewbotreviewbot
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          bot/reviewbot/tools/reek.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          bot/reviewbot/tools/reek.py
      
      
    2. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
      Show all issues
      Col: 80
       E501 line too long (83 > 79 characters)
      
    3. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
      Show all issues
      Col: 80
       E501 line too long (88 > 79 characters)
      
    4. 
        
    CH
    brennie
    1. This change looks pretty good.

      Can you go over this guide for writing change descriptions? Please make sure your description and testing done are complete with respect to that document.

    2. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
      Show all issues

      The first line in this file should be:

      from __future__ import unicode_literals
      
    3. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
      Show all issues

      Needs a docstring.

    4. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
      Show all issues

      No blank line here.

    5. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
       
      Show all issues

      Blank line between statement and block.

    6. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
       
       
       
       
       
       
       
       
       
      Show all issues

      Can we pull this out into a variable (say reek_cmd)?

    7. bot/reviewbot/tools/reek.py (Diff revision 1)
       
       
      Show all issues

      Can you add a comment with example line output of reek ?

    8. 
        
    CH
    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          bot/reviewbot/tools/reek.py
      
      
    2. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 1
       E112 expected an indented block
      
    3. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 5
       E113 unexpected indentation
      
    4. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 1
       E101 indentation contains mixed spaces and tabs
      
    5. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 1
       W191 indentation contains tabs
      
    6. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 16
       E131 continuation line unaligned for hanging indent
      
    7. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 1
       E101 indentation contains mixed spaces and tabs
      
    8. bot/reviewbot/tools/reek.py (Diff revision 2)
       
       
      Show all issues
      Col: 2
       E122 continuation line missing indentation or outdented
      
    9. 
        
    CH
    Review request changed
    Status:
    Discarded