fix: fix 'too-many-arguments' for pylint
This commit is contained in:
		
							parent
							
								
									fee44b455a
								
							
						
					
					
						commit
						93855e79d1
					
				
					 3 changed files with 4 additions and 6 deletions
				
			
		| 
						 | 
					@ -23,8 +23,6 @@ disable=fixme,
 | 
				
			||||||
        redefined-outer-name,
 | 
					        redefined-outer-name,
 | 
				
			||||||
        singleton-comparison,
 | 
					        singleton-comparison,
 | 
				
			||||||
        too-few-public-methods,
 | 
					        too-few-public-methods,
 | 
				
			||||||
        too-many-arguments,
 | 
					 | 
				
			||||||
        too-many-branches,
 | 
					        too-many-branches,
 | 
				
			||||||
        too-many-lines,
 | 
					        too-many-lines,
 | 
				
			||||||
        too-many-locals,
 | 
					        too-many-locals,
 | 
				
			||||||
        too-many-positional-arguments,
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -655,7 +655,7 @@ class NewOrderBatchHandler(BatchHandler):  # pylint: disable=too-many-public-met
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return products
 | 
					        return products
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def add_item(
 | 
					    def add_item(  # pylint: disable=too-many-arguments,too-many-positional-arguments
 | 
				
			||||||
        self,
 | 
					        self,
 | 
				
			||||||
        batch,
 | 
					        batch,
 | 
				
			||||||
        product_info,
 | 
					        product_info,
 | 
				
			||||||
| 
						 | 
					@ -766,7 +766,7 @@ class NewOrderBatchHandler(BatchHandler):  # pylint: disable=too-many-public-met
 | 
				
			||||||
        session.flush()
 | 
					        session.flush()
 | 
				
			||||||
        return row
 | 
					        return row
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def update_item(
 | 
					    def update_item(  # pylint: disable=too-many-arguments,too-many-positional-arguments
 | 
				
			||||||
        self, row, product_info, order_qty, order_uom, discount_percent=None, user=None
 | 
					        self, row, product_info, order_qty, order_uom, discount_percent=None, user=None
 | 
				
			||||||
    ):
 | 
					    ):
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -183,7 +183,7 @@ class OrderHandler(GenericHandler):
 | 
				
			||||||
            if note:
 | 
					            if note:
 | 
				
			||||||
                item.add_event(enum.ORDER_ITEM_EVENT_NOTE_ADDED, user, note=note)
 | 
					                item.add_event(enum.ORDER_ITEM_EVENT_NOTE_ADDED, user, note=note)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def process_placement(
 | 
					    def process_placement(  # pylint: disable=too-many-arguments,too-many-positional-arguments
 | 
				
			||||||
        self, items, user, vendor_name=None, po_number=None, note=None
 | 
					        self, items, user, vendor_name=None, po_number=None, note=None
 | 
				
			||||||
    ):
 | 
					    ):
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
| 
						 | 
					@ -226,7 +226,7 @@ class OrderHandler(GenericHandler):
 | 
				
			||||||
                item.add_event(enum.ORDER_ITEM_EVENT_NOTE_ADDED, user, note=note)
 | 
					                item.add_event(enum.ORDER_ITEM_EVENT_NOTE_ADDED, user, note=note)
 | 
				
			||||||
            item.status_code = enum.ORDER_ITEM_STATUS_PLACED
 | 
					            item.status_code = enum.ORDER_ITEM_STATUS_PLACED
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def process_receiving(
 | 
					    def process_receiving(  # pylint: disable=too-many-arguments,too-many-positional-arguments
 | 
				
			||||||
        self,
 | 
					        self,
 | 
				
			||||||
        items,
 | 
					        items,
 | 
				
			||||||
        user,
 | 
					        user,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue