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

cephfs-shell: Fix flake8 errors (E302, E502, E128, F821, W605, 5128, E122) #34254

Closed
wants to merge 8 commits into from
Closed

cephfs-shell: Fix flake8 errors (E302, E502, E128, F821, W605, 5128, E122) #34254

wants to merge 8 commits into from

Commits on Mar 27, 2020

  1. cephfs-shell: Added blank line before poutput definition

    This patch fixes the following flake8 error:
        E302 expected 2 blank lines, found 1
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    cf2cb51 View commit details
    Browse the repository at this point in the history
  2. cephfs-shell: Removed blackslash between brackets in to_bytes definition

    This patch fixes the following flake8 error:
       E502 the backslash is redundant between brackets
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    22c126c View commit details
    Browse the repository at this point in the history
  3. cephfs-shell: Added blank line before and after ls() definition

    This patch fixes the following flake8 error:
        E302 expected 2 blank lines, found 1
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    246ae69 View commit details
    Browse the repository at this point in the history
  4. cephfs-shell: Indent under-intended code in do_du()

    This patch fixes the following flake8 error:
        E128 continuation line under-indented for visual indent
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    5355b5e View commit details
    Browse the repository at this point in the history
  5. cephfs-shell: Removed unused exception instance in do_snap()

    This patch fixes the following flake8 error:
        F821 undefined name 'e'
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    402f74a View commit details
    Browse the repository at this point in the history
  6. cephfs-shell: Removed extra backslash in do_stat()

    This patch fixes the following flake8 error:
        W605 invalid escape sequence '\A'
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    e36541b View commit details
    Browse the repository at this point in the history
  7. cephfs-shell: Indent under-intened code in do_stat()

    This patch fixes the following flake8 error:
        E128 continuation line under-indented for visual indent
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    44f5f8c View commit details
    Browse the repository at this point in the history
  8. cephfs-shell: Indent outdented code in do_help()

    This patch fixes the following flake8 error:
        E122 continuation line missing indentation or outdented
    
    Fixes: https://tracker.ceph.com/issues/44645
    Signed-off-by: Dandamudi Rohit <rohitdandamudi.1100@gmail.com>
    me-diru committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    f5dbcd8 View commit details
    Browse the repository at this point in the history