Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmoguy committed Sep 26, 2024
1 parent ac0bf4b commit d678524
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions adapters/vendors/rabbitmq/test_rabbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def basic_publish(
body, # pylint: disable=unused-argument
properties=None, # pylint: disable=unused-argument
mandatory=False,
): # pylint: disable=unused-argument
): # pylint: disable=unused-argument,too-many-arguments,too-many-positional-arguments
return True


Expand All @@ -39,7 +39,7 @@ def basic_publish(
body, # pylint: disable=unused-argument
properties=None, # pylint: disable=unused-argument
mandatory=False,
): # pylint: disable=unused-argument
): # pylint: disable=unused-argument,too-many-arguments,too-many-positional-arguments
raise pika.exceptions.AMQPError("failure")


Expand Down
4 changes: 2 additions & 2 deletions faucet/faucet_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ValveTableConfig: # pylint: disable=too-many-instance-attributes
def __init__(
self,
name,
table_id, # pylint: disable=too-many-arguments
table_id,
exact_match=None,
meter=None,
output=True,
Expand All @@ -39,7 +39,7 @@ def __init__(
next_tables=None,
metadata_match=0,
metadata_write=0,
):
): # pylint: disable=too-many-arguments,too-many-positional-arguments
self.name = name
self.table_id = table_id
self.exact_match = exact_match
Expand Down
4 changes: 2 additions & 2 deletions faucet/valve_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def build_output_actions(acl_table, output_dict, tunnel_rules=None, source_id=No
return (output_port, output_actions, ofmsgs, output_inst)


def build_acl_entry( # pylint: disable=too-many-arguments,too-many-branches,too-many-statements
def build_acl_entry(
acl_table,
rule_conf,
meters,
Expand All @@ -200,7 +200,7 @@ def build_acl_entry( # pylint: disable=too-many-arguments,too-many-branches,too
vlan_vid=None,
tunnel_rules=None,
source_id=None,
):
): # pylint: disable=too-many-arguments,too-many-positional-arguments,too-many-branches,too-many-statements
"""Build flow/groupmods for one ACL rule entry."""
acl_inst = []
acl_act = []
Expand Down

0 comments on commit d678524

Please sign in to comment.