Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 10, 2024
1 parent fc2aecd commit 1844628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbqa/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def _save_markdown_sources(
SAVE_SOURCES = {False: _save_code_sources, True: _save_markdown_sources}


def _post_process_notebooks( # pylint: disable=R0913
def _post_process_notebooks( # pylint: disable=R0913,R0917
saved_sources: SavedSources,
nb_to_py_mapping: Mapping[str, TemporaryFile],
mutated: bool,
Expand Down
2 changes: 1 addition & 1 deletion tests/tools/test_pylint_works.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ def test_pylint_works(capsys: "CaptureFixture") -> None:
horizontal_bar = "-----------------------------------"
assert (
out.replace("\r\n", "\n").split(horizontal_bar)[0]
== expected_out.split(horizontal_bar)[0]
== expected_out.split(horizontal_bar, maxsplit=1)[0]
)

0 comments on commit 1844628

Please sign in to comment.