Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 2, 2023
1 parent 9cef61b commit 426cdc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nbqa/replace_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _write_notebook(
jupytext.jupytext.write(notebook_json, temp_notebook, config=config)


def mutate( # pylint: disable=too-many-locals
def mutate( # pylint: disable=too-many-locals,too-many-arguments
temp_file: str,
notebook: str,
notebook_info: NotebookInfo,
Expand Down Expand Up @@ -331,7 +331,7 @@ def _print_diff(code_cell_number: int, cell_diff: Iterator[str]) -> bool:
return False


def diff(
def diff( # pylint: disable=too-many-arguments
python_file: str,
notebook: str,
notebook_info: NotebookInfo,
Expand Down
6 changes: 3 additions & 3 deletions nbqa/save_code_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _replace_magics(
)


def _parse_cell(
def _parse_cell( # pylint: disable=too-many-arguments
source: Sequence[str],
whole_src: str,
cell_number: int,
Expand Down Expand Up @@ -335,7 +335,7 @@ def _has_trailing_semicolon(src: str) -> tuple[str, bool]:
return tokenize_rt.tokens_to_src(tokens), True


def pre_main( # pylint: disable=R0914
def pre_main( # pylint: disable=R0914,too-many-arguments
notebook_json: MutableMapping[str, Any],
file_descriptor: int,
process_cells: Sequence[str],
Expand Down Expand Up @@ -414,7 +414,7 @@ def pre_main( # pylint: disable=R0914
return temporary_lines, code_cells_to_ignore


def main( # pylint: disable=R0914
def main( # pylint: disable=R0914,too-many-arguments
notebook_json: MutableMapping[str, Any],
file_name: str,
process_cells: Sequence[str],
Expand Down

0 comments on commit 426cdc8

Please sign in to comment.