Skip to content

Commit

Permalink
Include too-many-positional-arguments disable after pylint upgrade (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri authored Sep 27, 2024
1 parent 5ce8530 commit d52d47f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/h_api/model/json_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create(cls, error_bodies):
class JSONAPIErrorBody(Model):
"""A JSON API error body."""

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments,too-many-positional-arguments
# I know pylint... I know

@classmethod
Expand Down Expand Up @@ -53,7 +53,7 @@ class JSONAPIData(Model):
# This would be nice but introduces a circular dependency with
# Schema as it needs the error stuff above via SchemaValidationError

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments,too-many-positional-arguments

@classmethod
def create(
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/h_api/bulk_api/command_processor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_it_fails_with_too_few_commands(self, command_processor, commands):
command_processor.process(commands)

def test_id_references_are_dereferenced(
# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments,too-many-positional-arguments
self,
command_processor,
config_command,
Expand Down Expand Up @@ -152,7 +152,7 @@ def test_we_require_a_report_for_each_object(
commands,
bad_reports,
exception,
): # pylint: disable=too-many-arguments
): # pylint: disable=too-many-arguments,too-many-positional-arguments
executor.execute_batch.side_effect = None
executor.execute_batch.return_value = bad_reports

Expand Down

0 comments on commit d52d47f

Please sign in to comment.