nbQA-dev / nbQA

Run ruff, isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks
https://nbqa.readthedocs.io/en/latest/index.html
MIT License
997 stars 38 forks source link

test_ruff_works fails with latest ruff (0.5.0) #856

Open GaetanLepage opened 1 week ago

GaetanLepage commented 1 week ago

This is the result of running the nbqa test suite with the latest ruff installed:

=========================== short test summary info ============================
FAILED tests/tools/test_ruff_works.py::test_ruff_works[/build/source/tests/data/notebook_for_testing.ipynb-/build/source/tests/data/notebook_for_testing_copy.ipynb-/build/source/tests/data/notebook_starting_with_md.ipynb] - AssertionError: assert '\n\n\n\n\n\n...ed but unused' == 'Found 13 err...ed...
FAILED tests/tools/test_ruff_works.py::test_ruff_works[tests/data/notebook_for_testing.ipynb-tests/data/notebook_for_testing_copy.ipynb-tests/data/notebook_starting_with_md.ipynb] - AssertionError: assert '\n\n\n\n\n\n...ed but unused' == 'Found 13 err...ed...
=========== 2 failed, 98 passed, 3 skipped, 14 deselected in 20.74s ============
MarcoGorelli commented 1 week ago

thanks @GaetanLepage for the report