Python coding style

Bug #1335805 reported by Longgeek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BillingStack
In Progress
Undecided
Longgeek

Bug Description

flake8 billingstack/
billingstack/billingstack/api/base.py:102:5: E265 block comment should start with '# '
    #op = wsme.wsattr(operation_kind, default='eq')
    ^
billingstack/billingstack/api/v2/models.py:66:9: E265 block comment should start with '# '
        #kw['methods'] = [PGMethod.from_db(m) for m in kw.get('methods', [])]
        ^
billingstack/billingstack/central/storage/impl_sqlalchemy/models.py:146:5: E265 block comment should start with '# '
    #provider = Column(Unicode(255), nullable=False)
    ^
billingstack/billingstack/central/storage/impl_sqlalchemy/__init__.py:79:20: E713 test for membership should be 'not in'
                if not key in properties:
                   ^
billingstack/billingstack/manage/base.py:27:9: E265 block comment should start with '# '
        #self.context = billingstackContext.get_admin_context()
        ^
billingstack/tools/load_samples.py:59:5: E265 block comment should start with '# '
    #contact_info = get_fixture('contact_info')
    ^
billingstack/tools/load_samples.py:61:5: E265 block comment should start with '# '
    #merchant_user = get_fixture('user')
    ^
billingstack/tools/load_samples.py:62:5: E265 block comment should start with '# '
    #merchant_user['username'] = 'demo_merchant'
    ^
billingstack/tools/load_samples.py:63:5: E265 block comment should start with '# '
    #merchant_user['contact_info'] = contact_info
    ^
billingstack/tools/load_samples.py:65:5: E265 block comment should start with '# '
    #merchant_user = conn.user_add(
    ^
billingstack/tools/load_samples.py:66:9: E113 unexpected indentation
        #ctxt, merchant['id'], merchant_user)
        ^
billingstack/tools/load_samples.py:66:9: E265 block comment should start with '# '
        #ctxt, merchant['id'], merchant_user)
        ^
billingstack/tools/load_samples.py:68:5: E265 block comment should start with '# '
    #customer_user = get_fixture('user')
    ^
billingstack/tools/load_samples.py:69:5: E265 block comment should start with '# '
    #customer_user['username'] = 'demo_customer'
    ^
billingstack/tools/load_samples.py:70:5: E265 block comment should start with '# '
    #customer_user['contact_info'] = contact_info
    ^
billingstack/tools/load_samples.py:71:5: E265 block comment should start with '# '
    #customer_user['customer_id'] = customer['id']
    ^
billingstack/tools/load_samples.py:73:5: E265 block comment should start with '# '
    #customer_user = conn.user_add(

Longgeek (longgeek)
Changed in billingstack:
assignee: nobody → Longgeek (longgeek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to billingstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/103505

Changed in billingstack:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on billingstack (master)

Change abandoned by Monty Taylor (<email address hidden>) on branch: master
Review: https://review.openstack.org/103505
Reason: This change has been abandoned because it belongs to a project that is part of the StackForge retirement. See http://governance.openstack.org/resolutions/20150615-stackforge-retirement.html for more details.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.